Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 185144
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Lukasz Strzygowski (RETIRED) <lucass@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: B. Amirouche <aneglus@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 185144 depends on: Show dependency tree
Bug 185144 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-13 01:30 0000
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'

------- Comment #1 From B. Amirouche 2007-07-13 01:32:02 0000 -------
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 ?)

------- Comment #2 From B. Amirouche 2007-07-13 01:47:31 0000 -------
Well, I had not the right profile, so no default X useflag inherited.

------- Comment #3 From B. Amirouche 2007-07-13 01:47:46 0000 -------
sorry...

------- Comment #4 From Jakub Moc (RETIRED) 2007-07-13 03:01:32 0000 -------
Absolutely nothing critical here.

------- Comment #5 From Lukasz Strzygowski (RETIRED) 2007-07-13 18:49:40 0000 -------
Fixed. Thanks for the report.

------- Comment #6 From Ilias 2007-07-17 23:01:30 0000 -------
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 ?

------- Comment #7 From Lukasz Strzygowski (RETIRED) 2007-07-18 09:36:35 0000 -------
Thanks for reporting, Ilias. Now it should be fixed. Please do emerge sync and
try again.

------- Comment #8 From Ilias 2007-07-18 20:42:16 0000 -------
Yep, emerged fine now, thank you.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug