[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-cgicc] Building under Cygwin
From: |
Matthew Peavy |
Subject: |
[help-cgicc] Building under Cygwin |
Date: |
Fri, 12 Nov 2004 14:32:54 +0100 |
User-agent: |
Mozilla Thunderbird 0.8 (Windows/20040913) |
Hi all,
I was trying to compile cgicc under Cygwin on my Windows XP machine.
This is using gcc 3.3.
I first configured the make using:
./Configure
which exited fine. I then went to make using:
make
but I received the following error at the end of a lengthy build process:
make[1]: Entering directory `/cygdrive/d/Programming/Libraries/cgicc2/demo'
source='test.cpp' object='test.o' libtool=no \
depfile='.deps/test.Po' tmpdepfile='.deps/test.TPo' \
depmode=gcc3 /bin/bash ../support/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../cgicc -I.. -I.. -Wall -W -pedantic
-g -O2 -c
-o test.o `test -f test.cpp || echo './'`test.cpp
/bin/bash ../libtool --mode=link g++ -Wall -W -pedantic -g -O2 -o
test.cgi.ex
e test.o ../cgicc/libcgicc.la
g++ -Wall -W -pedantic -g -O2 -o test.cgi.exe test.o
../cgicc/.libs/libcgicc.a
test.o(.ctors+0x0): In function
`_ZNK5cgicc18HTMLBooleanElementINS_7htmlTagEE5cl
oneEv':
/home/MattUser/Programming/Libraries/cgicc2/demo/../cgicc/HTMLBooleanElement.h:
undefined reference to `__GLOBAL__I_main'
test.o(.dtors+0x0):/home/MattUser/Programming/Libraries/cgicc2/demo/../cgicc/HTM
LBooleanElement.h: undefined reference to `__GLOBAL__D_main'
I have also tried to build the library using CMake, which did succeed in
getting me a library file.
But when I tried to include cgicc.h file in a header, I received the
following error:
Building executable
/cygdrive/d/Programming/Personal/SurveyAdministrator/Programming/WebFormParser/LoginMod/CMake/LoginMod.exe...
LoginMain.o(.ctors+0x0):LoginMain.cpp: undefined reference to
`__GLOBAL__I_main'
LoginMain.o(.dtors+0x0):LoginMain.cpp: undefined reference to
`__GLOBAL__D_main'
collect2: ld returned 1 exit status
make[1]: ***
[/cygdrive/d/Programming/Personal/SurveyAdministrator/Programming/WebFormParser/LoginMod/CMake/LoginMod.exe]
Error 1
make: *** [default_target] Error 2
which is obviously a related error.
I see that a couple people have had a similar problem on the mailing
lists in the past. But there never was a definitive answer.
Can anyone help?
Thanks a lot,
Matt.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [help-cgicc] Building under Cygwin,
Matthew Peavy <=