stevens writes:
> $ cc -D_KERNEL -m64 -c qotd_1.c
> $ ld -r -o qotd_1 qotd_1.o
[...]
> Jul 28 14:20:44 e1000 genunix: [ID 819705 kern.notice]
> /usr/kernel/drv/amd64/qotd_1: undefined symbol
> Jul 28 14:20:44 e1000 genunix: [ID 826211 kern.notice] 'net_lookup_impl'
Try:
ld -dy -Nmisc/neti -r -o qotd_1 qotd_1.o
(Yes, that's really "misc/neti", even though the actual module is
under the amd64 subdirectory.)
--
James Carlson, Solaris Networking <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]