Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
The linking of the final stklos executable fails with: dynload.o: In function `STk_load_object_file': dynload.c:(.text+0x74): undefined reference to `GC_dlopen' dynload.c:(.text+0x123): undefined reference to `GC_dlopen' thread-pthreads.o: In function `STk_sys_thread_start': thread-pthreads.c:(.text+0x295): undefined reference to `GC_pthread_create' I'm guessing this is actually a problem with the configure script autodetection more than the actual presence of a system boehmgc library. Forcing the configure script to use its included gc (--with-provided-gc) lets it link normally (and works fine). Reproducible: Always Steps to Reproduce: 1. Install boehm-gc (or have it installed already) 2. Try to install stklos 3. Fail 4. Uninstall boehm-gc 5. Install stklos 6. Succeed
One more note - if you re-install boehm-gc as normal after installing stklos, the stklos executable picks it up via dynamic linking and it works just fine.
it works fine here, with dev-libs/boehm-gc-6.8 installed (-nocxx threads) SUMMARY ******* System: Linux-2.6.20-gentoo OS type: unix Install prefix : /usr C compiler: x86_64-pc-linux-gnu-gcc Compilation flags: -O2 -pipe -ggdb Bignum library: use the system library Regexp library: use the system library GC library: use the system library LDAP support: no GTK+ support: yes GNOME support: no Thread support: pthreads I should have paid some more attention to use flags though and added boehm-gc as a dependency. Please provide the build log and emerge --info.
It seems that stklos requires dev-libs/boehm-gc to be compiled with the threads use flag (oops).