[Prev][Next][Index][Thread]

Re: Problem with linking.



Your linking command is wrong.  The -llibrary arguments need to appear
after your object file (*.o) arguments.  They are not switches to the
compiler/linker, they are object files (or library archives) to be scanned
by the linker; the -lfoo syntax just indicates a canonical list of
directories to search for the file `libfoo.a'.  Any library archives you
give the linker must follow any object files that reference their members.

This has nothing to do with the oskit actually.  
This is how linker arguments always work on most Unix-like systems.

=================================
To unsubscribe from this list, send a message with a body of "unsubscribe"
to oskit-users-request@flux.cs.utah.edu


References: