[haiku-development] Missing symbols

  • From: Michael Mounteney <gate03@xxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 26 Jan 2015 11:10:50 +1000

This must be a basic question.  I'm sure I remember asking similar a
while ago but although I've archived this list back to 2009, can't find
it.

Starting with an empty build directory, apart from a symlink to
downloads directory shared by all builds:

$ ../source/configure --build-cross-tools x86 ../buildtools --use-gcc-pipe -j2 
&& PATH=$PATH:../buildtools/jam/bin.linuxx86 jam -q @nightly-pimple-Jupiter

the output of the build is:

Starting build of type regular ... 
Building Haiku Nightly 
qrencode support not available on x86 
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...found 97381 target(s)...
...updating 14132 target(s)...
InitScript1 /mnt/mounty/haiku/MSI-laptop/haiku.image-init-vars 
AddTargetVariableToScript1 <unique!target>_target_871 
AddTargetVariableToScript1 <unique!target>_target_971 
AddTargetVariableToScript1 <unique!target>_target_081 
AddTargetVariableToScript1 <unique!target>_target_181 
AddTargetVariableToScript1 <unique!target>_target_281 
Link 
/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/package 
/mnt/mounty/haiku/MSI-laptop/objects/linux/lib/libpackage_build.so: undefined 
reference to `dlopen'
/mnt/mounty/haiku/MSI-laptop/objects/linux/lib/libpackage_build.so: undefined 
reference to `dlclose'
/mnt/mounty/haiku/MSI-laptop/objects/linux/lib/libpackage_build.so: undefined 
reference to `dlsym'
collect2: error: ld returned 1 exit status

export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mnt/mounty/haiku/MSI-laptop/objects/linux/lib 
; /mnt/mounty/haiku/source/build/scripts/rm_attrs 
/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/rm_attrs -f 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/package"
cc -Xlinker --no-as-needed -lm -o 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/package"  
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/command_add.o"
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/command_checksum.o"
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/command_create.o"
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/command_dump.o"
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/command_extract.o"
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/command_info.o"
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/command_list.o"
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/command_recompress.o"
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/package.o"
 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/PackageWriterListener.
 o" 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/PackageWritingUtils.o"
 \
"/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/build/libroot/libroot_build_function_remapper.a"
 "/mnt/mounty/haiku/MSI-laptop/objects/linux/lib/libroot_build.so" 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/lib/libpackage_build.so" 
"/mnt/mounty/haiku/MSI-laptop/objects/linux/lib/libbe_build.so" -lsupc++  \


...failed Link 
/mnt/mounty/haiku/MSI-laptop/objects/linux/x86/release/tools/package/package ...

BUILD FAILURE:
...failed updating 1 target(s)...
...skipped 7 target(s)...
...updated 6 target(s)...

Sorry to quote so much but I thought it was better to give the full
context.  As I'm able to build on two other machines, I wonder why this
build is different.

Michael.

Other related posts: