alliance-support '1997
Problems with genlib on Linux


Czo (Olivier.Sirol@asim.lip6.fr)
Wed, 17 Sep 1997 19:14:40 +0200

A lot of people had this problem I have been encountering linker errors when running genlib on Linux. /alliance/tutorials/addaccu/core.c:22: undefined reference to `genDEF_LOFIG' `genLOCON' `genLOINS' The functions appear to be in mgn322.h, and libMgn322 is being linked in. Could you please help me with this problem? I'd really like to get this system running so I can evaluate it before school starts up again. Thank you in advance. 1) If you use a Linux aout distrib (linux < 1.2) You have to link with libMgnXXX.a (where XXX is the rev #) This library is found in alliance/.../lib/ This problem seems to be a bad number of libMgnXXX.a in genlib script : edit alliance/.../bin/genlib and change the -lMgnXXX by -lMgn322 2) If you use a Linux elf distrib (linux 2.0) This is more to be a problem linking with some lib in elf format (e.g. libc...) and a pre compiled release of Alliance for linux in aout format. You could try to compile using a.out compatibility : Install the a.out libs (see your linux distrib doc) and recompile your kernel with a.out compatibility. Then edit the file alliance/etc/pc.mk and change the CC line : CC = /usr/i486-linuxaout/bin/gcc Thus genlib will generate an a.out binary, and all should go well... ---------------------------- Be aware that we won't support Linux aout anymore unless numerous people can not upgrade to a Linux elf (2.xx) Check out the new distrib (late sep 1997) on ftp://ftp.lip6.fr/lip6/softs/alliance/ -- Regards, Olivier Sirol. ==================================================================== Olivier SIROL Alliance Team ASIM/LIP6/UPMC Coul. 55-65, 2e etg, Bur. 213 75252 Paris Cedex 05 mailto:Olivier.Sirol@asim.lip6.fr Tel: (33/0) 1.44.27.30.43 http://asim.lip6.fr/alliance/ Fax: (33/0) 1.44.27.72.80 --------------------------------------------------------------------

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 22 March 2001.