Summary: | games-puzzle/xblockout-1.1.2: emake failed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ioannis Aslanidis (RETIRED) <deathwing00> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sekretarz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch on xblockout to work with xorg
patch on ebuild |
Description
Ioannis Aslanidis (RETIRED)
2004-06-26 04:13:53 UTC
I think you should try to lower optimilizations and compile this one more time. No way:
blackhat root # CFLAGS="-mcpu=i686 -O2" emerge xblockout
Calculating dependencies ...done!
>>> emerge (1 of 1) games-puzzle/xblockout-1.1.2 to /
>>> md5 src_uri ;-) xbl-1.1.2.tar.gz
>>> Unpacking source...
>>> Unpacking xbl-1.1.2.tar.gz to /var/tmp/portage/xblockout-1.1.2/work
>>> Source unpacked.
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -mcpu=i686 -O2 ) works... yes
checking whether the C compiler (gcc -mcpu=i686 -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
...gameevent.o(.text+0xcf): In function `gameevent':
: undefined reference to `XSetWMNormalHints'
gameevent.o(.text+0x109): In function `gameevent':
: undefined reference to `XSync'
gameevent.o(.text+0x7b3): In function `gameevent':
: undefined reference to `XLookupString'
gameevent.o(.text+0x9bf): In function `gameevent':
: undefined reference to `XSync'
collect2: ld returned 1 exit status
make: *** [bl] Error 1
!!! ERROR: games-puzzle/xblockout-1.1.2 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed
Created attachment 34199 [details, diff]
Patch on xblockout to work with xorg
Created attachment 34200 [details, diff]
patch on ebuild
Check if above patches works when xfree is installed, it should, but for sure check it :) You meant xorg, not xfree :) Patching the files and testing The patch was successful. ----- gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o buttons.o buttons.c gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o movingbutton.o movingbutton.c gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o zoo.o zoo.c gcc -DSCOREDIR=\"/var/games/xblockout\" -DRESOURCEDIR=\"/usr/share/games/xblockout\" -DXBLVERSION=\"1.1.2\" -DGROUP_GID=35 -DUSE_SETGID -DSTDC_HEADERS=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_USLEEP=1 -DGOOD_SELECT -DALARM_WORK -O3 -mcpu=i686 -fomit-frame-pointer -funroll-loops -pipe -fforce-addr -fforce-mem -fmove-all-movables -c -o gameevent.o gameevent.c gcc bl.o initdisp.o initgc.o initwin.o options.o bloc.o transfo.o initbuffer.o help.o demo.o movingbloc.o loop.o draw.o opbloc.o realtime.o initbloc.o menu.o initmenu.o score.o sound.o buttons.o movingbutton.o zoo.o gameevent.o -lm -L/usr/X11R6/lib -lX11 -o bl You can test the play by typing : 'bl' Scores will not be memorized ***----------------------------------------*** *** You must find the best buffering mode *** *** on your host/display. *** *** Same for the button height; on slow *** *** screens, limit yourself to 2 or 1 *** *** You must specify these defaults in the *** *** Xbl.ad file, before typing: *** *** make install *** ***----------------------------------------*** >>> Install xblockout-1.1.2 into /var/tmp/portage/xblockout-1.1.2/image/ category games-puzzle man: prepallstrip: strip: strip: usr/games/bin/xbl >>> Completed installing into /var/tmp/portage/xblockout-1.1.2/image/ patch isnt in portage ;) I'm sure there's a clever way to fix this with modifications to configure.in but since it's a one-liner I just added it to the sedfoo in the ebuild. Thanks for the patch and bug report. You can close. It was closed until you messed with it. ;-) |