www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/03/08/12:42:59

Date: Mon, 8 Mar 1999 11:40:01 -0600 (CST)
From: Dustin Marquess <jailbird AT alcatraz DOT fdf DOT net>
To: pgcc AT delorie DOT com
Subject: Re: Probably a stupid question
In-Reply-To: <OUT-36E33CC0.MD-1.2.soyeb@btinternet.com>
Message-ID: <Pine.LNX.4.04.9903081139270.2226-100000@alcatraz.fdf.net>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 8 Mar 1999, Soyeb Aswat wrote:

> gcc  util.o video.o parseblock.o motionvector.o decoders.o  fs2.o fs2fast.o fs4.
> o hybrid.o hybriderr.o 2x2.o  gdith.o gray.o mono.o main.o jrevdct.o 24bit.o uti
> l32.o ordered.o  ordered2.o mb_ordered.o /usr/openwin/lib/libX11.a /usr/openwin/
> lib/libXext.a -lm -o mpeg_play                                                  
> Undefined                       first referenced                                
>  symbol                             in file                                     
> socket                              /usr/openwin/lib/libX11.a(x11trans.o)       
> getpeername                         /usr/openwin/lib/libX11.a(x11trans.o)       
> xdrmem_create                       /usr/openwin/lib/libX11.a(ConnDis.o)        
> dlclose                             /usr/openwin/lib/libX11.a(x11trans.o)  (symb
> ol belongs to implicit dependency /usr/lib/libdl.so.1)                          
> gethostbyname                       /usr/openwin/lib/libX11.a(x11trans.o)       
> setsockopt                          /usr/openwin/lib/libX11.a(x11trans.o)       
> getservbyname                       /usr/openwin/lib/libX11.a(x11trans.o)       
> authdes_create                      /usr/openwin/lib/libX11.a(ConnDis.o)        
> inet_addr                           /usr/openwin/lib/libX11.a(x11trans.o)       
> shutdown                            /usr/openwin/lib/libX11.a(x11trans.o)       
> getsockname                         /usr/openwin/lib/libX11.a(x11trans.o)       
> dlsym                               /usr/openwin/lib/libX11.a(x11trans.o)  (symb
> ol belongs to implicit dependency /usr/lib/libdl.so.1)                          
> dlopen                              /usr/openwin/lib/libX11.a(x11trans.o)  (symb
> ol belongs to implicit dependency /usr/lib/libdl.so.1)                          
> connect                             /usr/openwin/lib/libX11.a(x11trans.o)       
> ld: fatal: Symbol referencing errors. No output written to mpeg_play            
> *** Error code 1                                                                
> make: Fatal error: Command failed for target `mpeg_play'                        
> bash-2.03$                                                                      

	LDFLAGS = -ldl -lsocket -lresolv   should fix some of that up.

						-Dustin

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019