When bjam is run on the examples folder on fedora core 4 it generates linker errors. Such as: ../../../bin/boost/libs/interprocess/example/process_a_example/gcc/release/runtime-link-static/process_a_example.o(.text+0x340): In function `main': process_a_example.cpp: undefined reference to `sem_post' NB: Does this help? [root@localhost example]# gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux Thread model: posix gcc version 4.0.2 20051125 (Red Hat 4.0.2-8) Thanks
Hi Jan,
When bjam is run on the examples folder on fedora core 4 it generates linker errors. Such as: ../../../bin/boost/libs/interprocess/example/process_a_example/gcc/release/runtime-link-static/process_a_example.o(.text+0x340): In function `main': process_a_example.cpp: undefined reference to `sem_post'
It seems that the compiler does not link posix functions automatically. I don't know why. In the next versions the examples folder will be deleted. Can you try to run interprocess/doc/code/Jamfile.v2 with "bjam --v2" to see if the problem is still there? Ion
participants (2)
-
Ion GaztaƱaga
-
Jan