stevens writes:
> I have writen simple code to lookup protocol.
> Like this:
>  net_data_t ipv4=net_lookup_impl(NHF_INET,NULL);
> When I compile this code ,it report that Undefined symbol net_lookup_impl.
> My Makefile main options are:
> CC = cc
> BASICOPTS = -g
> CFLAGS = $(BASICOPTS) -xCC -D_KERNEL  -xmodel=kernel.
> How to resolve?Thanks!

When you compile or when you link?  That looks like a link-time error.

You're likely missing "-dy -Nmisc/neti" when you run 'ld' to produce
your kernel module.

(Note that none of this is documented, which means that if you're
doing it somewhere outside of the OS/Net consolidation, you're on your
own, and will likely run into compatibility problems over time.)

-- 
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]

Reply via email to