compiling/linking a parser under Solaris

Mark Thornber emthornber@iee.org
Thu Jul 5 00:34:00 GMT 2001


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
> 
> ========================================================================



More information about the Sourcenav mailing list