From owner-freebsd-hackers Tue Feb 17 23:12:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA05809 for freebsd-hackers-outgoing; Tue, 17 Feb 1998 23:12:02 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA05763 for ; Tue, 17 Feb 1998 23:11:49 -0800 (PST) (envelope-from doconnor@cain.gsoft.com.au) Received: from cain (localhost [127.0.0.1]) by cain.gsoft.com.au (8.8.8/8.6.9) with ESMTP id RAA19381 for ; Wed, 18 Feb 1998 17:41:37 +1030 (CST) Message-Id: <199802180711.RAA19381@cain.gsoft.com.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: hackers@FreeBSD.ORG Subject: Linux compilations.. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 18 Feb 1998 17:41:36 +1030 From: "Daniel O'Connor" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am trying to get some Linux code compiled, so I am using the Linux Development kit, but I can't seem to get some things to compile.. :-/ I am trying to compile Mesa, which worked fine, but the demos die :( When I tried to compile a demo I got - make[2]: Entering directory `/usr/tmp/quake-dev/Mesa-2.6/demos' gcc -I../include -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DSHM -DFX -I/usr/local/glide/include bounce.c -L../lib -lglut -lMesaGLU -lMesaGL -lm -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -o bounce /usr/lib/libglide2x.so: undefined reference to `times' /usr/lib/libglide2x.so: undefined reference to `puts' /usr/lib/libglide2x.so: undefined reference to `putenv' /usr/lib/libglide2x.so: undefined reference to `iopl' /usr/lib/libglide2x.so: undefined reference to `cfmakeraw' /usr/lib/libglide2x.so: undefined reference to `fgetc' /usr/lib/libglide2x.so: undefined reference to `clock' /usr/lib/libglide2x.so: undefined reference to `tcsetattr' make[2]: *** [bounce] Error 1 make[2]: Leaving directory `/usr/tmp/quake-dev/Mesa-2.6/demos' make[1]: *** [linux-glide] Error 2 make[1]: Leaving directory `/usr/tmp/quake-dev/Mesa-2.6/demos' make: *** [linux-glide] Error 2 But all of these things are in libc.. right? Am I doing something obviously wrong? I wouldn't normally have to do this, but 3Dfx in their infinite wisdow deign not to port the Glide stuff to FreeBSD (yet anyway..) --------------------------------------------------------------------- |Daniel O'Connor software and network engineer for Genesis Software | |http://www.gsoft.com.au | |The nice thing about standards is that there are so many of them to| |choose from. -- Andrew Tanenbaum | --------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message