Compiling X Clients for X386 1.1 on ESIX 3.2.D with gcc-1.39

Tim Pozar pozar at kumr.lns.com
Sat Mar 2 04:38:35 AEST 1991


In article <18136 at cs.utexas.edu> glenn at cs.utexas.edu (Glenn G. Lai) writes:
>I have a question about compiling X clients for X386 1.1 on ESIX 3.2.D using
>gcc-1.39.  When I was generating the executable, the linker complained that
>certain routines "first used in /usr/lib/X11/libX11.a" weren't defined, some
>of which were "socket,""connect," and "gethostbyname."  I understand that such
>routines are in "libnet.a," but when I added the "-lnet" switch, a new set of
>undefined symbols were generated.  What's the correct way to go about this?

   I talked to Jeff at Esix and he told me to line these libs:

             -lX11 -lnet -lnsl_s -lc -lbsd


                        Tim

-- 
       pozar at lns.com  Fido: 1:125/555  PaBell: 415-788-3904
    USNail:  KKSF-FM / 77 Maiden Lane /  San Francisco CA 94108



More information about the Comp.unix.sysv386 mailing list