|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
[ crossfire-Bugs-2850517 ] crossfire-client-1.12.0 build failure under Slackware 12.2Bugs item #2850517, was opened at 2009-09-03 18:22
Message generated for change (Comment added) made by kbulgrien You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113833&aid=2850517&group_id=13833 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: cfclient Group: 1.12 >Status: Pending >Resolution: Works For Me Priority: 5 Private: No Submitted By: Claudio Fontana (sick_soul) Assigned to: Nobody/Anonymous (nobody) Summary: crossfire-client-1.12.0 build failure under Slackware 12.2 Initial Comment: The build of the crossfire-client-1.12.0 breaks for me under Slackware 12.2 /x86-32 I think that's a missing linking option for pthread. Attached the full console.log with all commands run and stdout/stderr. The following is standard error only: mapdata.c: In function 'mapdata_set_anim_layer': mapdata.c:805: warning: 'speed_left' may be used uninitialized in this function mapdata.c:805: warning: 'phase' may be used uninitialized in this function sound.c: In function 'MusicCmd': sound.c:177: warning: too many arguments for format ../common/libcfclient.a(metaserver.o): In function `metaserver1_get_info': /home/claudio/.sourceinstall/build/crossfire-client-1.12.0/common/metaserver.c:745: undefined reference to `pthread_create' ../common/libcfclient.a(metaserver.o): In function `metaserver2_get_info': /home/claudio/.sourceinstall/build/crossfire-client-1.12.0/common/metaserver.c:443: undefined reference to `pthread_create' collect2: ld returned 1 exit status gmake[1]: *** [crossfire-client-x11] Error 1 gmake: *** [all-recursive] Error 1 ---------------------------------------------------------------------- >Comment By: Kevin R. Bulgrien (kbulgrien) Date: 2009-09-10 22:58 Message: Just loaded 12.2 on a VirtualBox... Used vanilla setup... no kde and such, but devel tools... d/l top of SVN... builds just fine without the patch. Stock install, no upgrades, nothing. So I cannot reproduce. If you want it "fixed", you need to give more info on your setup or just try the patch and report back. Setting this pending. Please respond. ---------------------------------------------------------------------- Comment By: Kevin R. Bulgrien (kbulgrien) Date: 2009-09-10 01:25 Message: Falling back to good old tarball. Unpack in the client/trunk directory with a current SVN checkout... allow the files to overwrite. ---------------------------------------------------------------------- Comment By: Kevin R. Bulgrien (kbulgrien) Date: 2009-09-10 01:14 Message: Example of how to apply... $ cd /home/devel/crossfire $ patch <new_ax_pthread.patch can't find file to patch at input line 5 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |Index: client/trunk/configure.ac |=================================================================== |--- client/trunk/configure.ac (revision 12189) |+++ client/trunk/configure.ac (working copy) -------------------------- File to patch: client/trunk/configure.ac patching file client/trunk/configure.ac can't find file to patch at input line 132 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |Index: client/trunk/x11/Makefile.am |=================================================================== |--- client/trunk/x11/Makefile.am (revision 12189) |+++ client/trunk/x11/Makefile.am (working copy) -------------------------- File to patch: client/trunk/x11/Makefile.am patching file client/trunk/x11/Makefile.am can't find file to patch at input line 145 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |Index: client/trunk/gtk/Makefile.am |=================================================================== |--- client/trunk/gtk/Makefile.am (revision 12189) |+++ client/trunk/gtk/Makefile.am (working copy) -------------------------- File to patch: client/trunk/gtk/Makefile.am patching file client/trunk/gtk/Makefile.am can't find file to patch at input line 158 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |Index: client/trunk/gtk-v2/src/Makefile.am |=================================================================== |--- client/trunk/gtk-v2/src/Makefile.am (revision 12189) |+++ client/trunk/gtk-v2/src/Makefile.am (working copy) -------------------------- File to patch: client/trunk/gtk-v2/src/Makefile.am patching file client/trunk/gtk-v2/src/Makefile.am patching file ax_pthread.m4 ---------------------------------------------------------------------- Comment By: Kevin R. Bulgrien (kbulgrien) Date: 2009-09-08 23:00 Message: Removing inadequate pthread.patch. Replacing with ax_pthread.patch. The new patch file affects: A macros/ax_pthread.m4 M gtk/Makefile.am M configure.ac M x11/Makefile.am M gtk-v2/src/Makefile.am Someone please test on Slackware (other build test reports welcome too). ---------------------------------------------------------------------- Comment By: Kevin R. Bulgrien (kbulgrien) Date: 2009-09-08 06:41 Message: Actually, the more I think about it the more I think that won't help since its not enough different from the original to be likely to find the Slackware package - based on the fact that you had to add -lpthread to fix it. ---------------------------------------------------------------------- Comment By: Kevin R. Bulgrien (kbulgrien) Date: 2009-09-07 23:12 Message: Can you try applying this patch and re-running ./configure on Slackware? See attached pthread.patch I'm no autoconf genius. I ripped this off some other project. We need to see if it finds the pthread stuff and builds without manual tampering. ---------------------------------------------------------------------- Comment By: Claudio Fontana (sick_soul) Date: 2009-09-03 18:39 Message: UPDATE: the problem only affects the x11/ subcomponent, since I reached a successful build by editing by hand x11/Makefile adding -lpthread to LIBS, and then restarting the build from the top source directory. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113833&aid=2850517&group_id=13833 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Crossfire-devel mailing list Crossfire-devel@... https://lists.sourceforge.net/lists/listinfo/crossfire-devel |
| Free embeddable forum powered by Nabble | Forum Help |