[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cgicc & SCO UnixWare 7.1.x
From: |
Roland Gigler |
Subject: |
Re: cgicc & SCO UnixWare 7.1.x |
Date: |
Wed, 06 Dec 2000 20:27:58 +0100 |
Hello
I've an Update to this problem.
I did some investigations at SCOs WebSite. They did release
just a few days ago a Feature Supplement to their C++ Compilation
System.
My system is now: UnixWare 7.1.1 + UDK 7.1.1b
Now configure runs fine, make produces the cgicc library.
BUT "make all" in demo failed:
> Making all in info
> Making all in demo
> /bin/sh ../libtool --mode=link CC -g -o test.cgi test.o
> ../cgicc/libcgicc.la -lstdc++
> LD_RUN_PATH="/usr/local/lib:$LD_RUN_PATH" CC -g -o .libs/test.cgi test.o
> ../cgicc/.libs/libcgicc.so -lstdc++ -lstdc++
> UX:CC: ERROR: library not found: -lstdc++
> *** Error code 1 (bu21)
> UX:make: ERROR: fatal error.
> *** Error code 1 (bu21)
> UX:make: ERROR: fatal error.
> #
I do not have a libstd++ on my system.
So the configure script was wrong :
...
checking whether to link against libstdc++... yes
...
config.log shows:
> configure:1891: checking whether to link against libstdc++
> configure:1911: CC -o conftest -g conftest.C 1>&5
> "configure", line 1907: error: identifier "cout" is undefined
> cout << "foo" << endl;
> ^
>
> "configure", line 1907: error: identifier "endl" is undefined
> cout << "foo" << endl;
> ^
>
> configure: failed program was:
> #line 1904 "configure"
> #include "confdefs.h"
> #include <iostream>
> int main() {
> cout << "foo" << endl;
> ; return 0; }
> configure:1938: checking how to run the C++ preprocessor
If I change
#include <iostream>
to
#include <iostream.h>
then I can compile conftest.C.
Whats wrong here ?
Roland
Roland Gigler wrote:
>
> Hi Stephen
>
> Great to hear that.
>
> 1. Problem: configure
> The STL stuff on a UnixWare 7.1 is in a seperate directory
>
> ...
> checking for objdir... .libs
> creating libtool
> updating cache ./config.cache
> loading cache ./config.cache
> checking for gethostbyaddr in -lnsl... no
> checking whether to link against libstdc++... yes
> checking how to run the C++ preprocessor... CC -E
> checking for sys/time.h... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking host system type... i586-sco-sysv5uw7.1.1
> checking whether the C++ compiler (CC) supports STL... no
> configure: error: standard template library support required
> bash-2.04$
>
> Is there a way to add a parameter to the configure script
> to add a path for includes.
> e.g.: --with-stl-include[=ARG]
>
> Roland
>
> "Stephen F. Booth" wrote:
> >
> > Hi Roland,
> >
> > > I try to compile cgicc 3.1.4 on a UnixWare 7.1.x system.
> > >
> > > And it fails :-(
> > >
> > > Are you interested in supporting this platform ?
> > > I'm not sure, if I can get it running by myself.
> >
> > I am interested in getting cgicc to run on UnixWare 7.1. I don't have
> > access to this platform though. If you send me the compiler/linker output
> > (and also to address@hidden) we might be able to figure out what is the
> > problem.
> >
> > -Stephen
>
> --
> \|||/
> Roland Gigler (o o)
> ----------------------------ooO-(_)-Ooo---------------------------------
> Siemens AG, Muenchen Phone: +49 89 722-31289 Fax: -32421
> ICN EN HC SE 312 Mail: address@hidden
> Building: 7202 Room: 604 WWW: http://www.mch.pn.siemens.de/~roland
> ------------------------------------------------------------------------
--
\|||/
Roland Gigler (o o)
----------------------------ooO-(_)-Ooo---------------------------------
Siemens AG, Muenchen Phone: +49 89 722-31289 Fax: -32421
ICN EN HC SE 312 Mail: address@hidden
Building: 7202 Room: 604 WWW: http://www.mch.pn.siemens.de/~roland
------------------------------------------------------------------------