[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-cgicc] Problem Compiling Fast CGI Example
From: |
Volker Hochstein |
Subject: |
[help-cgicc] Problem Compiling Fast CGI Example |
Date: |
Wed, 28 Aug 2002 15:46:41 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1 |
Hi everybody,
I am new to CGIcc and I would like to use it in connection with FastCGI
and Apache.
However, I ve got problems to compile (link) the example program
fcgi-test.cpp. I ve got already running some scripts, which use CGIcc
therefore this part should be correct. Furthermore I ve got already
running scripts with FastCGI (without CGIcc) and they are running also
without a problem...
However, when I try to compile the fcgi-test.cpp example I get the
following error message:
Undefined symbol in file
fcgi_streambuf::fcgi_streambuf(FCGX_Stream **) /var/tmp/cckk...o
fcgi_streambuf::~fcgi_streambuf(void) (var/tmp/cckt....o
ld: fatal: Symbol referencing errors. ...
I ve got no idea how to fix that.
That is my system:
solaris 2.5.1
gcc 2.95.3
mod_fastcgi-2.2.12
cgicc-3.2.1
fcgi-2.2.2
compile command:
gcc -o fcgitest.fcgi -I/export/.../mylocal/include -lstdc++ -lnsl
-lsocket fcgi-test.cpp FCgiIO.cpp /export/.../mylocal/lib/libfcgi.a
/export/.../mylocal/lib/libcgicc.a
And I ve got one more comment. I had to adjust the file FCgiIO.h because
I do not have a <ostream> file in my system, therefore I switched to
<iostream>.
Hope somebody is able to help me.
Best regards...
Volker
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [help-cgicc] Problem Compiling Fast CGI Example,
Volker Hochstein <=