View Single Post

   
  #3 (permalink)  
Old 01-04-2008, 10:30 PM
Rob Dijkshoorn
 
Posts: n/a
Default Re: Compiling modules


"Paul Pluzhnikov" <ppluzhnikov-nsp@charter.net> wrote in message
news:m3wu3ofhx6.fsf@salmon.parasoft.com...
> "Rob Dijkshoorn" <rob@robdijkshoorn.com> writes:
>
> > Any solutions?

>
> You have not stated your problem yet.
>
> Which command line failed, ans what was the *exact* error message?
>
> Cheers,
> --
> In order to understand recursion you must first understand recursion.
> Remove /-nsp/ for email.


I'll paste the relevant portion of the compile (actually the linking part)
that goes haywire...

gcc -o modulecmd -L/opt/freeware/lib -L/usr/X11R6/lib -g
ModuleCmd_Avail.o ModuleCmd_Clear.o ModuleCmd_Display.o ModuleCmd_Help.o
ModuleCmd_Init.o ModuleCmd_List.o ModuleCmd_Load.o ModuleCmd_Purge.o
ModuleCmd_Switch.o ModuleCmd_Update.o ModuleCmd_Use.o ModuleCmd_Whatis.o
cmdAlias.o cmdConflict.o cmdIsLoaded.o cmdInfo.o cmdMisc.o cmdModule.o
cmdPath.o cmdSetenv.o cmdUname.o cmdXResource.o cmdUlvl.o cmdLog.o
cmdTrace.o cmdVersion.o cmdVerbose.o cmdWhatis.o
init.o locate_module.o utility.o main.o error.o getopt.o
ersion.o -ltcl8.3 -lXmu -lXt -lX11 -lXext -ldl -lm
ld: 0706-006 Cannot find or open library file: -l tcl8.3
ldpen(): A file or directory in the path name does not exist.
collect2: ld returned 255 exit status
make: 1254-004 The error code from the last command is 1.

Please note: tcl8.3 does exist in /opt/freeware/lib


Reply With Quote