[Bug 214645] New: Broken header file in SDL_net (SDL_net.h)
https://bugzilla.novell.com/show_bug.cgi?id=214645 Summary: Broken header file in SDL_net (SDL_net.h) Product: SUSE Linux 10.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: dominique.leuenberger@tmf-group.com QAContact: qa@suse.de Hi everybody, On my freshly installed (using FTP) SuSE Linux 10.1 box, I wanted to build opencity (to come to the BS soon, as soon as I got it all running). After finding all mandatory deps and deps that are not mentioned, I got it finally to compile. And then came across and error in SDL_net.h: on line 416, there is an additional ':' just after the closing bracket '}' which the compiler (g++ 4.1.0, as installed with SL10.1) does not like at all. This avoids me from compiling it. Removing this semicolon solved that issue (for local build). I'm wondering if I'll have the same problem in the BuildService or if there is a 'fixed' SDL_net inside? As of today, at least on 'my' update mirror, there is no more recent version of SDL_net available. The same error as on my local workstation happens in the BuildService when compiling for 10.1! The relevant output at the end of the log: The relevant output at the end of 'make': -I/usr/include/SDL -D_REENTRANT -MT networking.o -MD -MP -MF ".deps/networking.Tpo" -c -o networking.o networking.cpp; \ then mv -f ".deps/networking.Tpo" ".deps/networking.Po"; else rm -f ".deps/networking.Tpo"; exit 1; fi /usr/include/SDL/SDL_net.h:416: error: extra ';' make[3]: *** [networking.o] Error 1 make[3]: Leaving directory `/usr/src/packages/BUILD/opencity-0.0.4beta/src/networking' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/opencity-0.0.4beta/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/opencity-0.0.4beta' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.624 (%build) Regards, Dominique -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214645 ------- Comment #1 from dominique.leuenberger@tmf-group.com 2006-10-24 08:53 MST ------- found in package SDL_net 1.2.5-236 on my local workstation and (if different) on the version used on the BS on SuSE Linux 10.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214645 ------- Comment #2 from dominique.leuenberger@tmf-group.com 2006-10-24 13:04 MST ------- This bug is also existing in 10.2 Alpha5 (& factory) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214645 ------- Comment #3 from sndirsch@novell.com 2006-10-25 01:44 MST ------- Reassigning to maintainer of SDL_net. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214645 ------- Comment #4 from dominique.leuenberger@tmf-group.com 2006-10-25 02:09 MST ------- Created an attachment (id=102534) --> (https://bugzilla.novell.com/attachment.cgi?id=102534&action=view) The required patch to fix it Alternatively upgrade to SDL_net 1.2.6; there it's solved too -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214645 ------- Comment #5 from sndirsch@novell.com 2006-10-26 03:16 MST ------- Indeed in SDL_net 1.26 it has been fixed in the exactly same way. --- SDL_net-1.2.5/SDL_net.h 2003-02-10 01:33:26.000000000 +0100 +++ SDL_net-1.2.6/SDL_net.h 2006-05-01 09:25:58.000000000 +0200 @@ -413,8 +437,8 @@ #endif /* Ends C function definitions when using C++ */ #ifdef __cplusplus -}; +} #endif #include "close_code.h" -#endif /* _SDLnet_h */ +#endif /* _SDL_NET_H */ Therefore I'll add this patch for Vladimir. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214645 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #6 from sndirsch@novell.com 2006-10-26 03:25 MST ------- fixed for STABLE/Factory and 10.2 Beta2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214645 ------- Comment #7 from dominique.leuenberger@tmf-group.com 2006-10-26 03:29 MST ------- Just as a question: When will it be applied on the BS? (so I can removed my own patched lib again?) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com