I'm new to programming and I'm trying to make a CGIs with MySQL dbase
backends, but I'm having a problem getting the examples to even compile
right. They compile fine when I ./configure; make; make install, but I
can't seem to do it manually, which of course is a essential. I included
the error output in the attachment. Thank you for your time. I'm sure
it's something simple, but it's over my hacking ability right now.
homepage site: http://sapphire.indstate.edu/~gosnellj
project site: http://premed.dhs.org (currently down)
bash-2.03# g++ -L /usr/X11/include/ -o test test.cpp
/tmp/ccdj6dkq.o: In function `main':
/tmp/ccdj6dkq.o(.text+0xf): undefined reference to `XOpenDisplay'
/tmp/ccdj6dkq.o(.text+0xca): undefined reference to `XCreateSimpleWindow'
/tmp/ccdj6dkq.o(.text+0xe7): undefined reference to `XSelectInput'
/tmp/ccdj6dkq.o(.text+0xfa): undefined reference to `XMapWindow'
/tmp/ccdj6dkq.o(.text+0x10e): undefined reference to `XCreateGC'
/tmp/ccdj6dkq.o(.text+0x12a): undefined reference to `XSetForeground'
/tmp/ccdj6dkq.o(.text+0x13d): undefined reference to `XNextEvent'
/tmp/ccdj6dkq.o(.text+0x16d): undefined reference to `XDrawLine'
/tmp/ccdj6dkq.o(.text+0x17c): undefined reference to `XFlush'
collect2: ld returned 1 exit status
|• compilation error...||James Gosnell||21 Jul|