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]

Reply via email to