Loading...

musicbrainz-devel@musicbrainz.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [mb-devel] Building picard on FC4 Robert Kaye Sat Aug 12 04:23:10 2006


On Jan 26, 2006, at 1:54 PM, Robin Bowes wrote:
building '_ctypes' extension
creating build/temp.linux-i686-2.4/source
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC
-I/home/robin/download/ctypes-0.9.6/build/temp.linux-i686-2.4/include
-I/home/robin/download/ctypes-0.9.6/build/temp.linux-i686-2.4/lib/ gcc/3.5.0/include/libffi
-I/usr/include/python2.4 -c source/_ctypes.c -o
build/temp.linux-i686-2.4/source/_ctypes.o
source/_ctypes.c:3883: error: static declaration of ‘Pointer_Type’
follows non-static declaration
source/ctypes.h:101: error: previous declaration of ‘Pointer_Type’ was here
error: command 'gcc' failed with exit status 1

This is with gcc 4.0.2

Any idea how to fix this?

Yes.

go to line 3883 in source/_ctypes.c and remove the word 'static' at the beginning of the line. That should work -- its worked for me before.

--

--ruaok      Somewhere in Texas a village is *still* missing its idiot.

Robert Kaye     --     [EMAIL PROTECTED]     --    http://mayhem-chaos.net



_______________________________________________
MusicBrainz-devel mailing list
[EMAIL PROTECTED]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel