URL:
  <http://gna.org/bugs/?16690>

                 Summary: Fails to build on Fedora 13 x86_64
                 Project: Wormux
            Submitted by: wart
            Submitted on: Sunday 09/12/2010 at 19:47
                Category: Compilation
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 0.9.2
         Discussion Lock: Any

    _______________________________________________________

Details:

I've been trying to upgrade wormux in Fedora to 0.9.2, but I get build errors
as shown below.  Attempts to hack around it by patching
lib/fixedpoint/stdint.h have failed.  Any suggestions?

--Wart

g++ -DHAVE_CONFIG_H -I. -I../../src   -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -I../../lib/wormux/include -I../../lib/fixedpoint  -Wall -Wextra
-O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng12   -I/usr/include/libxml2
  -I/usr/include/libpng12   -c -o singleton.o `test -f './base/singleton.cpp'
|| echo './'`./base/singleton.cpp
In file included from /usr/include/inttypes.h:28,
                 from /usr/include/SDL/SDL_stdinc.h:66,
                 from /usr/include/SDL/SDL_mutex.h:32,
                 from ./base/singleton.cpp:22:
../../lib/fixedpoint/stdint.h:33: error: conflicting declaration 'typedef
long long int int64_t'
/usr/include/sys/types.h:198: error: 'int64_t' has a previous declaration as
'typedef long int int64_t'
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/x86_64-redhat-linux/bits/gthr-default.h:42,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/x86_64-redhat-linux/bits/gthr.h:162,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/ext/atomicity.h:34,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/basic_string.h:41,
                 from
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/string:53,
                 from ../../lib/wormux/include/WORMUX_debug.h:23,
                 from ../../lib/wormux/include/WORMUX_singleton.h:27,
                 from ./base/singleton.cpp:23:
/usr/include/unistd.h:268: error: conflicting declaration 'typedef __intptr_t
intptr_t'
../../lib/fixedpoint/stdint.h:61: error: 'intptr_t' has a previous
declaration as 'typedef int intptr_t'
In file included from /usr/include/inttypes.h:28,
                 from /usr/include/SDL/SDL_stdinc.h:66,
                 from /usr/include/SDL/SDL_main.h:26,
                 from /usr/include/SDL/SDL.h:30,
                 from /usr/include/SDL/SDL_net.h:28,
                 from ./action/action.cpp:23:
../../lib/fixedpoint/stdint.h:33: error: conflicting declaration 'typedef
long long int int64_t'
/usr/include/sys/types.h:198: error: 'int64_t' has a previous declaration as
'typedef long int int64_t'





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16690>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to