Can I put net_look_impl to main function?Like this:
int main(int argc, char** argv) {
net_data_t ipv4=net_lookup_impl(NHF_INET,NULL);
return (EXIT_SUCCESS);
}
And I compiled
$cc -D_KERNEL -lnsl -lsocket -c hook_test.c
$ld -dy -Nmisc/neti -o hook_test hook_test.o
Undefined first referenced
symbol in file
net_lookup_impl hook_test.o
ld: fatal: Symbol referencing errors. No output written to hook_test
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]
- [networking-discuss] Undefined symbol:net_look_impl stevens
- Re: [networking-discuss] Undefined symbol:net_look_i... James Carlson
- Re: [networking-discuss] Undefined symbol:net_lo... stevens
- Re: [networking-discuss] Undefined symbol:ne... Michael Schuster
- Re: [networking-discuss] Undefined symbol:ne... James Carlson
- Re: [networking-discuss] Undefined symbol:net_look_i... stevens
- Re: [networking-discuss] Undefined symbol:net_lo... Zhijun Fu
- Re: [networking-discuss] Undefined symbol:ne... stevens
- Re: [networking-discuss] Undefined symbo... James Carlson
- Re: [networking-discuss] Undefined ... stevens
- Re: [networking-discuss] Undefi... James Carlson
- Re: [networking-discuss] Un... Andrew Gallatin
- Re: [networking-discuss] Un... James Carlson
