Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4640 - CommonC++ ebuild won't compile
Summary: CommonC++ ebuild won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Michael M Nazaroff (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-07 08:38 UTC by nimh
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nimh 2002-07-07 08:38:29 UTC
When compiling CommonC++ with gcc 2.95.3, I recieve the following error:

c++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I/usr/include/libxml2 -I../src
-march=i686 -O3 -pipe -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c xml.cpp 
-fPIC -DPIC -o .libs/xml.lo
xml.cpp:54: parser.h: No such file or directory
xml.cpp:55: parserInternals.h: No such file or directory
xml.cpp:56: xmlIO.h: No such file or directory
xml.cpp: In method `bool ost::XMLStream::Parse(const char * = 0)':
xml.cpp:130: `xmlParserCtxtPtr' undeclared (first use this function)
xml.cpp:130: (Each undeclared identifier is reported only once
xml.cpp:130: for each function it appears in.)
xml.cpp:130: parse error before `;'
xml.cpp:131: `xmlSAXHandler' undeclared (first use this function)
xml.cpp:137: `sax' undeclared (first use this function)
xml.cpp:138: `startDocumentSAXFunc' undeclared (first use this function)
xml.cpp:139: `endDocumentSAXFunc' undeclared (first use this function)
xml.cpp:140: `startElementSAXFunc' undeclared (first use this function)
xml.cpp:141: `endElementSAXFunc' undeclared (first use this function)
xml.cpp:142: `charactersSAXFunc' undeclared (first use this function)
xml.cpp:143: `commentSAXFunc' undeclared (first use this function)
xml.cpp:145: `xml' undeclared (first use this function)
xml.cpp:146: `xmlInputReadCallback' undeclared (first use this function)
xml.cpp:147: `xmlInputCloseCallback' undeclared (first use this function)
xml.cpp:148: `xmlCharEncoding' undeclared (first use this function)
xml.cpp:148: parse error before `0'
xml.cpp:153: implicit declaration of function `int ost::xmlParseDocument(...)'
xml.cpp:158: implicit declaration of function `int ost::xmlFreeParserCtxt(...)'
make[1]: *** [xml.lo] Error 1
make[1]: Leaving directory
`/data/tmp/portage/commonc++-1.9.7/work/CommonC++-1.9.7/src'
make: *** [all-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 6, Exitcode 2
!!! make failed

!!! emerge aborting on  /data/portage/dev-libs/commonc++/commonc++-1.9.7.ebuild .

I've tried reemerging libxml2, but that didn't make any difference.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-08 07:13:17 UTC
the xml.h file is not in /usr/include, but in a subdirectory thereof.  naz,
please make sure it has the correct -I statement.
Comment 2 Michael M Nazaroff (RETIRED) gentoo-dev 2002-07-09 20:25:57 UTC
Yeah I know .. need to make a little patch for it :o)
Comment 3 Michael M Nazaroff (RETIRED) gentoo-dev 2002-07-12 02:22:03 UTC
done

naz