O/H Loïc Minier έγραψε: > On Tue, Jul 11, 2006, Pavlos Georgiadis wrote: > >> conftest.c -lgwlib -lpthread -lc_r -lkse -L/usr/lib >&5 >> /usr/bin/ld: cannot find -lkse >> > > This means libkse.so is nowhere to be found in ld's library search > path, yet your Kannel build flags as returned by gw-config include > "-lkse", hence the failure. > > You probably miss the directory with this lib in your library search > path. > > I found that libkse has been removed from FreeBSD. The default thread library is libpthread, which uses the new Kernel Scheduler Entities. (more info can be found here)
I changed the -lkse to -lpthread in configure and configure.ac files and everything is OK. diff mbuni-1.1.0/configure mbuni-1.1.0_freebsd/configure 20754c20754 < LIBS="$LIBS -lc_r -lkse"; pthread="yes" --- > LIBS="$LIBS -lc_r -lpthread"; pthread="yes" diff mbuni-1.1.0/configure.ac mbuni-1.1.0_freebsd/configure.ac 72c72 < AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r -lkse"; pthread="yes"]) --- > AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r -lpthread"; pthread="yes"]) -- Pavlos Georgiadis _______________________________________________ Users mailing list [email protected] http://mbuni.org/mailman/listinfo/users_mbuni.org
