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
|