fam
[Top] [All Lists]

Re: [fam] fam and nautilus

To: FAM mailling list <fam@xxxxxxxxxxx>
Subject: Re: [fam] fam and nautilus
From: Christian Kreibich <kreibich@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Jan 2002 23:33:52 +0100
References: <1011213849.15824.25.camel@viper> <1011214044.23273.0.camel@xfiles> <1011214964.15824.27.camel@viper>
Sender: owner-fam@xxxxxxxxxxx
Amith Varghese wrote:
> 
> I don't think because it says gcc instead of g++ it is causing the
> problem.  To prove the point I pasted the test program into a file and
> did the following:
> 
> g++ -o conftest -g -O2 famtest.c -lfam
> 
> and i got:
> 
> /tmp/ccVa4c0d.o: In function `main':
> /tmp/famtest.c:8: undefined reference to `FAMOpen()  '
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/../../../libfam.so:
> undefined reference to `__rtti_user'

Try adding -lstdc++. I've received reports about issues with gcc3
versions and compiling fam, as libstdc++ is apparently under certain
circumstances not automatically linked in. Try an older gcc if
available.

Christian.
-- 
________________________________________________________________________
                                                    http://www.whoop.org

--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>