Date: Mon, 8 Mar 1999 11:40:01 -0600 (CST) From: Dustin Marquess To: pgcc AT delorie DOT com Subject: Re: Probably a stupid question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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