Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
habak can't compile without X support in imlib2... should double-check X useflag for imlib2 before trying to compile or something like this. Reproducible: Always Steps to Reproduce: 1.compile imlib2 without X useflag 2.try to compile habak 3.confess make -C src make[1]: Entering directory `/var/tmp/portage/x11-misc/habak-0.2.5/work/habak-0.2.5/src' gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/X11R6/include -Wall -c xcore.c -o xcore.o gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/X11R6/include -Wall -c random.c -o random.o gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/X11R6/include -Wall -c habak.c -o habak.o habak.c: In function 'main': habak.c:564: warning: suggest parentheses around assignment used as truth value gcc -o habak xcore.o random.o habak.o -L/usr/X11R6/lib -lImlib2 -lm xcore.o: In function `initXconnection': xcore.c:(.text+0x25): undefined reference to `XOpenDisplay' xcore.c:(.text+0x6c): undefined reference to `imlib_context_set_display' xcore.c:(.text+0x93): undefined reference to `imlib_context_set_visual' xcore.c:(.text+0xdc): undefined reference to `XCreatePixmap' xcore.c:(.text+0x129): undefined reference to `XCreateGC' xcore.c:(.text+0x16c): undefined reference to `XFillRectangle' xcore.o: In function `set_pixmap_property': xcore.c:(.text+0x1c0): undefined reference to `XInternAtom' xcore.c:(.text+0x1df): undefined reference to `XInternAtom' xcore.c:(.text+0x210): undefined reference to `XInternAtom' xcore.c:(.text+0x22f): undefined reference to `XInternAtom' xcore.c:(.text+0x285): undefined reference to `XChangeProperty' xcore.c:(.text+0x2c7): undefined reference to `XChangeProperty' xcore.c:(.text+0x2dc): undefined reference to `XSetCloseDownMode' xcore.c:(.text+0x2e9): undefined reference to `XFlush' xcore.c:(.text+0x353): undefined reference to `XGetWindowProperty' xcore.c:(.text+0x3b8): undefined reference to `XGetWindowProperty'
I compiled imlib2 with X support and now habak compiles nicely so it should be the trick :D. the thing is that I may not have the right profile but whatever (no ?)
Well, I had not the right profile, so no default X useflag inherited.
sorry...
Absolutely nothing critical here.
Fixed. Thanks for the report.
I have the same behaviour. When doing a emerge world -e this package, habak does not compile with same error indication imlib2 should be recompiled with X use. Well recompiling imlib2 did not help. Is this a bug ?
Thanks for reporting, Ilias. Now it should be fixed. Please do emerge sync and try again.
Yep, emerged fine now, thank you.