Hi everybody, we've tried to compile the example file eg_cc_external.cc with the command g++ -I$ECLIPSEDIR/include/$ARCH eg_cc_external.cc $ECLIPSEDIR/lib/$ARCH/libeclipse.a -L$ECLIPSEDIR/lib/$ARCH -lgmp -lshm -ldummies -ldl -lnsl -lm We got the error /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status OK, maybe we don't know the correct g++ parameter to compile code without main. So we added an empty main() and were able to compile the code. But loading fails with load("a.out"). /home/scholz/Dissertation/Implemenation/Georg/Docs/a.out: cannot open shared object file: No such file or directory shared library not found in load("a.out") Abort The variables ECLIPSEDIR, ARCH, and LD_LIBRARY_PATH are correcly set to the values given in the documentation. Please could someone post a working example including the command lines to complie and the ECLiPSE commands to load the code and use the predicates. Thank you very much, Uli compiler: g++ operating system: Suse Linux architecture: i386_linux -- Ulrich Scholz scholz@informatik.tu-darmstadt.de http://www.intellektik.informatik.tu-darmstadt.de/~scholzReceived on Mon Dec 16 12:24:52 2002
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:19 PM GMT GMT