From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Thornber To: "Wiegert, Arnold" Cc: "'sourcenav@sources.redhat.com'" Subject: Re: compiling/linking a parser under Solaris Date: Thu, 05 Jul 2001 00:34:00 -0000 Message-id: <3B44189F.CD917086@iee.org> References: <6A1BC64042DFD211903A0008C7C56704050369B1@vancouver_nt2.vancouver.glenayre.com> X-SW-Source: 2001-q3/msg00026.html Arnold, As Mo says, the missing library is flex, which is _not_ on Solaris by default. You will need to install from the usual places - try http://www.sunfreeware.com --MarkT "Wiegert, Arnold" wrote: > > Hi, > > I've downloaded and installed SourceNavigator. It looks pretty good so far. > > However since most of our work involves cross-compiling under Solaris for an > embedded system running Motorola 68K CPUs, I need to add a assembly code > parser for the 68K CPUs - using the Green Hills OASYS cross-compiler. > > I have gotten as far as modifying a basic 68K..m4; it seems to get > translated properly to C and using a version of a GNU C compiler, I get as > far as the linking step, where it complains about a missing library: > > wiegert/scsi2:awiegert@fairmont[226] gmake test > gnucc -o abrowser abrowser.o -L../../../../sdk/lib -lm -ldl -lfl > -lsnptools -ldbutils -lpafdb -ltcl8.1 -lutils > ld: fatal: library -lfl: not found > ld: fatal: File processing errors. No output written to abrowser > make: *** [abrowser] Error 1 > awiegert/scsi2:awiegert@fairmont[227] > > Where might I find this library on a Solaris system - I've already had to > hunt down a GNU make and compiler :) > > Thank you in advance for any help. > Arnold > ======================================================================== > > Arnold Wiegert > Software Engineer Tel: (604) 293-4399 ext.4814 > Glenayre Technologies Email: awiegert@glenvan.glenayre.com > 1570 Kootenay St. > Vancouver, BC V5K-5B8 > > ========================================================================