problems linking a gcc port with a clang lib

Oliver Lehmann lehmann at ans-netz.de
Sat Mar 1 09:59:08 UTC 2014


Hi,

I guess I need some help to get x11-toolkits/gigi to compile on  
FreeBSD 10 and higher.
It always stops with

Linking CXX executable ../AdamParser-test
../libGiGi.so: undefined reference to  
`boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry  
const&, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
../libGiGi.so: undefined reference to  
`boost::filesystem::native(std::string const&)'

Since this error does not occur on FreeBSD 9: It might be related to  
the fact that
on 10 boost is compiled with clang and gigi is being compiled with g++ 4.7.

Any advices how to solve this?


More information about the freebsd-ports mailing list