[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-cgicc] Generating the cgicc library on AIX 4.3.3
From: |
Naipaul Ojar |
Subject: |
[help-cgicc] Generating the cgicc library on AIX 4.3.3 |
Date: |
Mon, 2 Sep 2002 18:06:46 +0100 |
Dear All,
I have switched to the Visual Age C/C++ compiler to generate/link the
library. I ran into some problems generating the library - numerous
warnings of
duplicated declarations but I persisted.
I let the make file compile the test app, but here I have compilations
errors:-
-------------------------------------------------------------------------------------------------------------
Making all in demo
make[1]: Entering directory `/usr/cgicc-3.2.1/demo'
source='test.cpp' object='test.o' libtool=no \
depfile='.deps/test.Po' tmpdepfile='.deps/test.TPo' \
depmode=aix /bin/sh ../support/depcomp \
xlC_r -DHAVE_CONFIG_H -I. -I. -I../cgicc -I.. -I.. -g -c -o test.o
`test -f test.cpp || echo './'`test.cpp
"../cgicc/HTMLBooleanElement.h", line 187.6: 1540-0431 (S) The
declarator cannot be qualified with the enclosing namespace "cgicc".
make[1]: *** [test.o] Error 1
make[1]: Leaving directory `/usr/cgicc-3.2.1/demo'
make: *** [all-recursive] Error 1
>From the HTMLBooleanElement.h file:
-------------------------------------------------------
template<class Tag>
//bool CGICCNS HTMLBooleanElement<Tag>::sState = false;
bool HTMLBooleanElement<Tag>::sState = false;
This resulted in the following:
-----------------------------------------
Making all in demo
make[1]: Entering directory `/usr/cgicc-3.2.1/demo'
source='test.cpp' object='test.o' libtool=no \
depfile='.deps/test.Po' tmpdepfile='.deps/test.TPo' \
depmode=aix /bin/sh ../support/depcomp \
xlC_r -DHAVE_CONFIG_H -I. -I. -I../cgicc -I.. -I.. -g -c -o test.o
`test -f test.cpp || echo './'`test.cpp
/bin/sh ../libtool --mode=link xlC_r -g -o test.cgi test.o
../cgicc/libcgicc.la
xlC_r -g -o .libs/test.cgi test.o -L../cgicc/.libs -lcgicc
ld: 0711-362 ERROR: Glink code cannot be added for function: _ptrgl
This function is used by compilers and must be called directly.
make[1]: *** [test.cgi] Error 8
make[1]: Leaving directory `/usr/cgicc-3.2.1/demo'
All comments are welcome to resolve these errors - I fear that the true
link errors have not yet been identified but ...
Best Regards
Naipaul Ojar
_____________________________________________
IBM/Tivoli UK Ltd., IBM UK Ltd
Sefton Park Alencon House, AL8
Bells Hill, Stoke Poges Alencon Way
Buckinghamshire, UK Basingstoke, UK
SL2 4JS RG32 7EJ
Tel: +44(0)1753 780228, x56228
Mob: +44(07764)290407, MOBEX: 271954
Sefton Park Fax: +44(0)1753 780899
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [help-cgicc] Generating the cgicc library on AIX 4.3.3,
Naipaul Ojar <=