Hi, I wrote a C program to get some network configuration, but when I
 tried to use these functions
 
 
         inet_network();
         inet_makeaddr();
         bzero();
  
 I got this error in the compilation
 
 /tmp/cca0019t1.o(.text+0x168): undefined reference to `inet_network'
 /tmp/cca0019t1.o(.text+0x184): undefined reference to `inet_makeaddr'
 /tmp/cca0019t1.o(.text+0x19c): undefined reference to `bzero'
 
 altough I put the correct includes in then file. When I tried to compile
 the same program on Linux, it worked. But I had to crippled the Motif part
 of the program...But thats no solution because the  program must run on
 the Solaris Server and with a Motif Graphical Interface
 
 ---->INCLUDES<----
 
      #include <sys/types.h>
      #include <sys/socket.h>
      #include <netinet/in.h>
      #include <arpa/inet.h>
 
 Some suggestions on Unix Programming lists would help too..      
 
 
 Machine: Sparc20
 OS. Solaris 2.4
 Compiler: gcc 2.7.2.2
 
 Thakx
 
___________________________________________________________________________
Answers
Frank Pardo <fpardo@tisny.com>
John Justin Hough <john@oncology.uthscsa.edu>
Michael Baumann <baumann@proton.llumc.edu>
Mariel Feder <unix.support@central.meralco.com.ph>
"Boyko, Steve" <SBoyko@nbpower.com>
Mohammed Ali <ali@platinum.com>
and many others..
1) The problem was that bzero is BSD style so  I created a macro to use
memset instead
2) I forgot to link with -lsocket.
Best Regards to all
      
----------------------------------------------------------------------------
                /\
                | \          nothing to do?
                |  \         GO CLIMB A ROCK!
               /    \_____     
            /\/      ____/                Reinaldo Penno Filho
           /        /\*/                  Operacões em Redes
        /\/         \ |                   Rede Nacional de Pesquisa
       /            | \\                  http://www.rnp.br  
      /             |                     e-mail: reinaldo@ci.rnp.br     
     /               \                
----------------------------------------------------------------------------