On 2002.01.16 21:44 Amith Varghese wrote:
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
I also have problem configuring nautilus with fam...
Here is what i got :
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 `operator new[](unsigned)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
undefined reference to `operator delete(void*)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
undefined reference to `__gxx_personality_v0'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
undefined reference to `std::ios_base::Init::Init()'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
undefined reference to `operator delete[](void*)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
undefined reference to `std::ios_base::Init::~Init()'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
undefined reference to `operator new(unsigned)'
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; }
Pierre.
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|