Hola, I made an ebuild for the GNUSim8085 simulator, which is (still) not in the gentoo portage. GNUSim8085 is a GTK2 8085 microprocessor simulator. This is the first ebuild i made, and i test it as far as i could. it works fine in my system. I hope i can contribute with more in the future. Long Live to Gentoo!. Chau
Created attachment 21319 [details] gnusim8085-1.2.3 (New Ebuild) The ebuild
i got a compile error : In file included from 8085.c:23: /usr/include/string.h:39: error: duplicate `extern' make[2]: *** [gnusim8085-8085.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnusim8085-1.2.3/work/GNUSim8085-1.2.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnusim8085-1.2.3/work/GNUSim8085-1.2.3' make: *** [all] Error 2 !!! ERROR: app-sci/gnusim8085-1.2.3 failed. !!! Function src_compile, Line 27, Exitcode 2 !!! Make failed
Created attachment 21800 [details] gnusim8085-1.2.3-r1.ebuild (Dependencies added) This ebuild add the gnome dependencies for the gnusim8085 package
Comment on attachment 21800 [details] gnusim8085-1.2.3-r1.ebuild (Dependencies added) Added gnome dependencies
Dominique: I don't think the problem is the ebuild or the gnusim8085 program, by these two lines: In file included from 8085.c:23: /usr/include/string.h:39: error: duplicate `extern' i thinks the problem might be in your glibc library. Can you please try the ebuild in another gentoo box? ( i just uploaded the r1 ebuild fixing some dependencies).
todo
Created attachment 25030 [details] gnusim8085-1.2.89.ebuild This is the up to date version of gnusim8085 the compiler error string.h was fixed and supports translation. I wasn't able to test it yet, but uploaded it anyway in case someone is interested.
I had some trouble with iconv library. Are you using the standard glibc iconv or the dev-libs/libiconv package? What gcc/glibc are you using? I seem to get way with removing -liconv on version sys-devel/gcc-3.3.2-r5 sys-libs/glibc-2.3.2-r9. Do you think it is save to remove -liconv? g++ -O2 -mcpu=i686 -pipe -o gnusim8085 .... -liconv /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -liconv collect2: ld returned 1 exit status make[2]: *** [gnusim8085] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnusim8085-1.2.89/work/GNUSim8085-1.2.89/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnusim8085-1.2.89/work/GNUSim8085-1.2.89' make: *** [all] Error 2
J. Santiago Hirschfeld I've commited my slightly edited version to cvs. Let up know if there are any problems. Thankyou.