From: James Gosnell Date: July 21 2000 3:56am Subject: compilation error... List-Archive: http://lists.mysql.com/plusplus/5 Message-Id: <3977C9F3.60C2C28E@indstate.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------556A62A1C3C7356C33D5D476" --------------556A62A1C3C7356C33D5D476 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. -- James Gosnell goose@stripped ICQ#1727569 homepage site: http://sapphire.indstate.edu/~gosnellj project site: http://premed.dhs.org (currently down) --------------556A62A1C3C7356C33D5D476 Content-Type: text/plain; charset=us-ascii; name="error" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="error" 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 bash-2.03# --------------556A62A1C3C7356C33D5D476--