Summary: | nethack-3.4.1.ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ingo -LaSombra- Hoffmann <ingo.hoffmann> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | VERIFIED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Don't forget to ebuild nethack-3.4.1.ebuild digest ;-) |
Description
Ingo -LaSombra- Hoffmann
2003-02-27 09:34:27 UTC
Created attachment 8777 [details]
Don't forget to ebuild nethack-3.4.1.ebuild digest ;-)
I still get errors...here's the new one. gcc -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -I../include -c ../sys/unix/unixunix.c gcc -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -I../include -c ../sys/unix/unixres.c ../sys/unix/unixres.c: In function `real_getresuid': ../sys/unix/unixres.c:35: `RTLD_NEXT' undeclared (first use in this function) ../sys/unix/unixres.c:35: (Each undeclared identifier is reported only once ../sys/unix/unixres.c:35: for each function it appears in.) ../sys/unix/unixres.c: In function `real_getresgid': ../sys/unix/unixres.c:47: `RTLD_NEXT' undeclared (first use in this function) make: *** [unixres.o] Error 1 !!! ERROR: app-games/nethack-3.4.1 failed. !!! Function src_compile, Line 142, Exitcode 2 !!! (no error message) note: iv noticed nethack only bombs out if 'gnome' is included in the USE flags. Strange... I didn't got any errors. Maybe because I don't emerge it with gnome nor qt. To get the build to compile, I need to add _GNU_SOURCE to CFLAGS so that RTLD_NEXT gets defined (see <dlfcn.h>). Of course, it doesn't link because there are too many tile.o's linked in. Oops. The build compiles well with USE="-gnome". I had to copy /usr/portage/app-games/nethack/files/dot.nethackrc to /usr/local/portage/app-games/nethack/files/ because I built from portage_overlay. The Qt version works now, any chance to get the Gnome interface to compile, too? Bug #16827 has a patch to fix the issues with gnome compilation. in cvs now closing |