[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling simple program



On Fri, 23 Apr 1999, Uwe Behrens wrote:

> Hope that helps ;-)

Thanks. I now get a bit further <sigh>

Matthew

mcv21@pick:/home2/mcv21/programming/x/gl> make hello
gcc helloworld.c -o hello -I/usr/include -I/usr/X11R6/include \
-L/usr/lib -lm -lglut -lMesaGLU  -L/usr/X11R6/lib -lXmu -lX11 -lXext -lMesaGL \
-lMesaGLw
/usr/lib/libglut.so: undefined reference to `XGetExtensionVersion'
/usr/lib/libglut.so: undefined reference to `XFreeDeviceList'
/usr/lib/libglut.so: undefined reference to `XQueryDeviceState'
/usr/lib/libglut.so: undefined reference to `XListInputDevices'
/usr/lib/libglut.so: undefined reference to `XFreeDeviceState'
/usr/lib/libglut.so: undefined reference to `XOpenDevice'
/usr/lib/libglut.so: undefined reference to `XSelectExtensionEvent'
collect2: ld returned 1 exit status
make: *** [hello] Error 1



-- 
Elen sila lumenn' omentielvo

Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.cam.ac.uk/CambUniv/Societies/tolkien/
http://pick.sel.cam.ac.uk/
Debian GNU/Hurd - love at first byte


Reply to: