Fam is a c++ module and need g++ to link
le mer 16-01-2002 à 21:44, Amith Varghese a écrit :
> Hi... I'm trying to compile nautilus with fam support but i am running
> into some problems. I can run and install fam alright, but when I run
> the nautilus configure script it says it can't find the FAM library so
> it won't compile support in for it. However when I look at the
> config.log I see the following
>
>
> configure:6661: checking for FAMOpen in -lfam
> configure:6680: gcc -o conftest -g -O2 conftest.c -lfam 1>&5
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
> undefined reference to `__rtti_user'
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
> undefined reference to `__rethrow'
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
> undefined reference to `__builtin_vec_new'
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
> undefined reference to `__builtin_vec_delete'
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
> undefined reference to `__builtin_delete'
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
> undefined reference to `__builtin_new'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 6669 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error. */
> /* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
> char FAMOpen();
>
> int main() {
> FAMOpen()
> ; return 0; }
>
> It looks like there are some problems when compiling the test program so
> that's why it failed. I don't understand why there are undefined
> symbols when I compiled FAM itself. I'm running redhat with a 2.4.13
> kernel and glibc 2.2.4. If anyone has any suggestions I would
> appreciate it.
>
> Thanks
> Amith
>
>
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
> To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
--
-o)
Remi Cohen-Scali /\\
<Remi@xxxxxxxxxxxxxxx> <rcoscali@xxxxxxxxxx> _\_v
----
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|