tdbbackup compilation problem

Shapiro, David david.shapiro at bti.com
Mon Oct 6 21:02:15 GMT 2003


Hello,
 
tdbbackup is not compiling on the latests cvs build:
 
cc -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1  -c  tdbbackup.c
gcc -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1 -o tdbbackup tdbbackup.o tdb.o
spinlock.o
tdbbackup.o(.text+0x27c): In function `main':
/usr/local/samba/source/tdb/tdbbackup.c:132: undefined reference to
`add_suffix'
tdbbackup.o(.text+0x2a4):/usr/local/samba/source/tdb/tdbbackup.c:135:
undefined reference to `verify_tdb'
tdbbackup.o(.text+0x2f4):/usr/local/samba/source/tdb/tdbbackup.c:139:
undefined reference to `backup_tdb'
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `tdbbackup'
 
I am not sure why it thinks these 3 things are not defined.  I see them in
tdbback.h and tdback.c.
 
David



More information about the samba-technical mailing list