Hi,

you have to link your executable to your library.
The command-line option is -l.

% gcc -o testfile -lmylib source.c

Without it, your program doesn't know that this library exists
(somewhere, /usr/lib, ...)

Regards,
Florian
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to