PDA

View Full Version : libcgi help please.


zootreeves
March 7th, 2006, 07:25 AM
I'm just trying to compile the 'simple form' example from the libcgi-doc package and i get the following error:

In function `main':form1.c:(.text+0x31): undefined reference to `cgi_init'
:form1.c:(.text+0x36): undefined reference to `cgi_init_headers'
:form1.c:(.text+0x53): undefined reference to `cgi_include'
:form1.c:(.text+0x5f): undefined reference to `cgi_include'
:form1.c:(.text+0x6b): undefined reference to `cgi_include'
:form1.c:(.text+0x7c): undefined reference to `cgi_end'
collect2: ld returned 1 exit status
make: *** [all] Error 1


My hello world cgi example using libcgi does not compile either. I have installed all packages with reference to anything cgi and also downloaded the libcgi source.

zootreeves
March 7th, 2006, 09:30 AM
Ok got it working now, cgilib seems to conflict with it