amanda on th

Rafał Cygnarowski zswi at pers.pl
Thu Mar 8 12:46:28 CET 2007


Hi!

I was just trying to build amanda on Th. It seems there is some linker 
problem. On AC same spec builds fine. Can anyone confirm my suspicion?

Here is end of build log:

/bin/sh ../libtool --tag=CC   --mode=link 
i686-pld-linux-gcc  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE -O2 -fno-strict-aliasing -fwrapv -march=i686 
-mtune=pentium4 -gdwarf-2 -g2       -Wl,--as-needed     -o ammt 
ammt.o ../common-src/libamanda.la libamtape.la ../common-src/libamanda.la 
-lm
i686-pld-linux-gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 
-g2 -Wl,--as-needed -o .libs/ammt 
ammt.o  ./.libs/libamtape.so ../common-src/.libs/libamanda.so -lm
creating ammt
i686-pld-linux-gcc -DHAVE_CONFIG_H -I. -I../config -I../common-src 
-I../common-src    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE -O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 
-gdwarf-2 -g2      -MT amdd.o -MD -MP -MF .deps/amdd.Tpo -c -o amdd.o amdd.c
mv -f .deps/amdd.Tpo .deps/amdd.Po
/bin/sh ../libtool --tag=CC   --mode=link 
i686-pld-linux-gcc  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE -O2 -fno-strict-aliasing -fwrapv -march=i686 
-mtune=pentium4 -gdwarf-2 -g2       -Wl,--as-needed     -o amdd 
amdd.o ../common-src/libamanda.la libamtape.la ../common-src/libamanda.la 
-lm
i686-pld-linux-gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE -O2 -fno-strict-aliasing -fwrapv -march=i686 
-mtune=pentium4 -gdwarf-2 -g2 -Wl,--as-needed -o .libs/amdd 
amdd.o  ./.libs/libamtape.so ../common-src/.libs/libamanda.so -lm
./.libs/libamtape.so: undefined reference to `debug_vstralloc'
./.libs/libamtape.so: undefined reference to `debug_areads'
./.libs/libamtape.so: undefined reference to `debug_alloc'
./.libs/libamtape.so: undefined reference to `build_header'
./.libs/libamtape.so: undefined reference to `fh_init'
./.libs/libamtape.so: undefined reference to `debug_amtable_alloc'
./.libs/libamtape.so: undefined reference to `debug_newvstralloc'
./.libs/libamtape.so: undefined reference to `quote_string'
./.libs/libamtape.so: undefined reference to `debug_alloc_push'
./.libs/libamtape.so: undefined reference to `fullwrite'
./.libs/libamtape.so: undefined reference to `vstrextend'
./.libs/libamtape.so: undefined reference to `debug_newstralloc'
./.libs/libamtape.so: undefined reference to `split'
./.libs/libamtape.so: undefined reference to `debug_printf'
./.libs/libamtape.so: undefined reference to `parse_file_header'
./.libs/libamtape.so: undefined reference to `areads_relbuf'
./.libs/libamtape.so: undefined reference to `sanitise_filename'
./.libs/libamtape.so: undefined reference to `debug_stralloc'
./.libs/libamtape.so: undefined reference to `amtable_free'
collect2: ld returned 1 exit status
make[1]: *** [amdd] Error 1
make[1]: Leaving directory 
`/home/users/pldcvs/rpm/BUILD/amanda-2.5.1p2/tape-src'
make: *** [all-recursive] Error 1
błąd: Błędny status wyjścia z /home/users/pldcvs/tmp/rpm-tmp.53778 (%build)

Unresolved symbols are in ../common-src/.libs/libamanda.so but are not seen by 
linker.

-- 
Rafał Cygnarowski
rafi at pers.pl


More information about the pld-devel-en mailing list