I believe I had the same problem initially. Make sure libreadline5 is installed.
sudo aptitude install libreadline5 Having said that, I've just done an SVN update and it's no longer compiling for me for a different reason. :) /bin/sh -ec '( cd object; make install )' make[1]: Entering directory `/home/craigo/dev/idst/object' /bin/sh -ec '[ -d stage1 ] || mkdir stage1' /bin/sh -ec '( cd id; make BIN="../stage1/" )' make[2]: Entering directory `/home/craigo/dev/idst/object/id' cc -g -Wall -Wreturn-type -Werror -D_GNU_SOURCE=1 -Wno-unused-value -w -g -O3 -march=prescott -fomit-frame-pointer -falign-functions=16 -funroll-loops -I../stage1//include -DNDEBUG -DSYSARCH=\"i386\" -DSYSOS=\"linux\" -fno-strict-aliasing -DPREFIX='"/usr/local/lib/idc/i686-pc-linux-gnu/"' libid.c -c -o ../stage1/libid.o libid.c: In function '_libid_infos': libid.c:949: error: 'struct __methodinfo' has no member named 'next' libid.c: In function '_libid_enter': libid.c:978: error: 'struct __methodinfo' has no member named 'sourceStart' libid.c: In function '_libid_init': libid.c:1153: error: 'struct __libid' has no member named 'proto2' libid.c:1171: error: 'struct __libid' has no member named 'lineAt' libid.c:1172: error: 'struct __libid' has no member named 'infos' libid.c:1173: error: 'struct __libid' has no member named 'infoList' make[2]: *** [../stage1/libid.o] Error 1 make[2]: Leaving directory `/home/craigo/dev/idst/object/id' make[1]: *** [stage1/libid.o] Error 2 make[1]: Leaving directory `/home/craigo/dev/idst/object' make: *** [install] Error 2 On Sat, Jun 28, 2008 at 12:10 PM, Rob Grainger <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to get FONC working on a Ubuntu distro (8.04) on a VM. > > I've got a long way through the build (many of the posts here have helped), > but it's failing with the following messages eventually (stage 2): > > > ./idc -g -g -k -I../objects main.st readline.o jolt.a -L/usr/local/lib > -lreadline -o main > jolt.a(debug.o): In function `freedlineLoadHistory': > /home/user/trunk/function/objects/freedline.c:573: undefined reference to > `fgetln' > collect2: ld returned 1 exit status > > (I must apologise, I'm a relative newcomer to Linux generally, so may have > missed something obvious). > > Any suggestions? > > Thanks, > > Rob Grainger > > ----- Original Message ---- > From: Michael Haupt <[EMAIL PROTECTED]> > To: Fundamentals of New Computing <[email protected]> > Sent: Sunday, 22 June, 2008 1:58:53 PM > Subject: Re: [fonc] 64-bit? was: fonc on ubuntu. > > Hi Ian, > > Am 21.06.2008 um 20:17 schrieb Ian Piumarta: > > Hmm, Mac OS has a /usr/lib/readline that doesn't provide the above > > function. (It looks like a wrapper around the BSD editline > > library.) I removed the call to the above and replaced it with a > > home-made almost-equivalent. (I'll remove the 'almost-' later.) > > Hope this helps. > > it does, thank you. > > So now I can report that "make spotless && make" works fine on Leopard > for revision 469. :-) > > Best, > > Michael > > -- > Dr.-Ing. Michael Haupt [EMAIL PROTECTED] > Software Architecture Group Phone: ++49 (0) 331-5509-542 > Hasso Plattner Institute for Fax: ++49 (0) 331-5509-229 > Software Systems Engineering http://www.swa.hpi.uni-potsdam.de/ > Prof.-Dr.-Helmert-Str. 2-3, D-14482 Potsdam, Germany > > Hasso-Plattner-Institut für Softwaresystemtechnik GmbH, Potsdam > Amtsgericht Potsdam, HRB 12184 > Geschäftsführung: Prof. Dr. Christoph Meinel > > > > > > ------------------------------ > Not happy with your email address? > Get the one you really want <http://uk.docs.yahoo.com/ymail/new.html> - > millions of new email addresses available now at > Yahoo!<http://uk.docs.yahoo.com/ymail/new.html> > > _______________________________________________ > fonc mailing list > [email protected] > http://vpri.org/mailman/listinfo/fonc > >
_______________________________________________ fonc mailing list [email protected] http://vpri.org/mailman/listinfo/fonc
