|
Re: lib install problem: msg#00282os.netbsd.help
On Sat, Oct 26, 2002 at 02:06:54PM -0400, Steve Tremblett wrote: > I need to use libnet to inject ethernet frames to test a networking > tool I'm writing. I checked /usr/pkgsrc but the version there is > outdated so I got the latest version and installed by hand. Everything > seems to work ok, but I can't link against the lib no matter what I > try. It is a static (".a") lib, if that matters. What is the actual file called? If it is xxx/libnet.a you should be able to put the filename onto the command line (ie no -l and with the 'lib' and '.a'). so: cc -o program program.o xxx/libnet.a should work. ld will (should) look at the type of file you've given it then DTRD. David -- David Laight: david@xxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | lib install problem: 00282, Steve Tremblett |
|---|---|
| Next by Date: | Re: lib install problem: 00282, Steve Tremblett |
| Previous by Thread: | lib install problemi: 00282, Steve Tremblett |
| Next by Thread: | Re: lib install problem: 00282, Steve Tremblett |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |