rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] cmodule.c and compiling


From: Dave Encisco
Subject: [rdiff-backup-users] cmodule.c and compiling
Date: Wed, 14 May 2003 10:11:21 -0700 (PDT)

Hi,

I've search the rdiff-backup-users archive regarding a compiling exit
error when compiling cmodule.c and I see that it was once recommended
to include the library_dirs in the setup.py. This appears to be fixed
in the newest release.

So here's the skinny:
RH 7.3
GCC 2.96 (I've also tried 3.2) with several different options.
Python-2.3b1
librsync-0.9.5.1

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/usr/local/include/python2.3 -c cmodule.c -o
build/temp.linux-i686-2.3/cmodule.o
cmodule.c: In function `c_make_file_dict':
cmodule.c:69: `LONG_LONG' undeclared (first use in this function)
cmodule.c:69: (Each undeclared identifier is reported only once
cmodule.c:69: for each function it appears in.)
cmodule.c:69: parse error before `sbuf'
cmodule.c:70: parse error before `sbuf'
cmodule.c:78: parse error before `sbuf'
cmodule.c:132: parse error before `devnums'
cmodule.c:133: `devnums' undeclared (first use in this function)
cmodule.c:48: warning: `size' might be used uninitialized in this function
cmodule.c:48: warning: `inode' might be used uninitialized in this function
cmodule.c:48: warning: `devloc' might be used uninitialized in this function
cmodule.c: At top level:
cmodule.c:214: warning: initialization from incompatible pointer type
error: command 'gcc' failed with exit status 1

Any pointers would be greatly appreciated.

Thanks!
Dave

Please note: Emails authored under this address do not reflect the
opinions of my employer unless otherwise stated.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]