gcc-4.3.2 related buiid issue

Jochen Schmitt Jochen at herr-schmitt.de
Wed Oct 8 18:31:18 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,

I have try to build the most recent release of highlight-2.6.13 on koji.

Unfortunately, I have got the following error messages:

main.o: In function
`HighlightApp::printDebugInfo(highlight::LanguageDefinition const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)':
/builddir/build/BUILD/highlight-2.6.13/src/main.cpp:107: undefined
reference to `Pattern::getPattern() const'
main.o: In function
 `HighlightApp::analyzeFile(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
/builddir/build/BUILD/highlight-2.6.13/src/main.cpp:266: undefined
reference to `Pattern::matches(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, unsigned long)'
./libhighlight.a(codegenerator.o): In function
`highlight::CodeGenerator::matchRegex(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
/builddir/build/BUILD/highlight-2.6.13/src/codegenerator.cpp:381:
undefined reference to `Pattern::createMatcher(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
./libhighlight.a(codegenerator.o): In function
`highlight::CodeGenerator::checkSpecialCmd()':
/builddir/build/BUILD/highlight-2.6.13/src/codegenerator.cpp:1520:
undefined reference to `Pattern::compile(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
/builddir/build/BUILD/highlight-2.6.13/src/codegenerator.cpp:1521:
undefined reference to `Pattern::createMatcher(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
./libhighlight.a(codegenerator.o): In function `~auto_ptr':
/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h:286:
undefined reference to `Pattern::~Pattern()'
./libhighlight.a(codegenerator.o): In function `~auto_ptr':
/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/auto_ptr.h:173:
undefined reference to `Pattern::~Pattern()'
./libhighlight.a(languagedefinition.o): In function
`highlight::LanguageDefinition::extractRegex(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.cpp:80:
undefined reference to `Pattern::createMatcher(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
./libhighlight.a(languagedefinition.o): In function `~RegexElement':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.h:239:
undefined reference to `Pattern::~Pattern()'
./libhighlight.a(languagedefinition.o): In function
`highlight::LanguageDefinition::addSymbol(std::basic_stringstream<char,
std::char_traits<char>, std::allocator<char> >&, highlight::State,
highlight::State, bool, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int)':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.cpp:64:
undefined reference to `Pattern::compile(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
./libhighlight.a(languagedefinition.o): In function
`highlight::LanguageDefinition::addKeywords(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
highlight::State, highlight::State, int)':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.cpp:147:
undefined reference to `Pattern::compile(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
./libhighlight.a(languagedefinition.o): In function
`highlight::LanguageDefinition::load(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool)':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.cpp:253:
undefined reference to `Pattern::compile(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.cpp:255:
undefined reference to `
make[1]: Leaving directory `/builddir/build/BUILD/highlight-2.6.13/src'
RPM build errors:
Pattern::compile(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, unsigned long)'
./libhighlight.a(languagedefinition.o): In function `LanguageDefinition':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.cpp:41:
undefined reference to `Pattern::compile(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
./libhighlight.a(languagedefinition.o):/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.cpp:41:
more undefined references to `Pattern::compile(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
follow
./libhighlight.a(languagedefinition.o): In function `~RegexElement':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.h:239:
undefined reference to `Pattern::~Pattern()'
./libhighlight.a(languagedefinition.o): In function `~LanguageDefinition':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.cpp:48:
undefined reference to `Pattern::~Pattern()'
./libhighlight.a(languagedefinition.o): In function `~RegexElement':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.h:239:
undefined reference to `Pattern::~Pattern()'
./libhighlight.a(languagedefinition.o): In function `~LanguageDefinition':
/builddir/build/BUILD/highlight-2.6.13/src/languagedefinition.cpp:48:
undefined reference to `Pattern::~Pattern()'
collect2: ld returned 1 exit status
make[1]: *** [compile] Error 1

Beause this issue doesn't occurs on F-9, I will ask, if anyone have a
hint to solveing
this issue.

The full build log may be find at:

http://koji.fedoraproject.org/koji/getfile?taskID=868972&name=build.log

Best Regards:

Jochen Schmitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjs/GMACgkQT2AHK6txfgxIMQCcDlUz3oA9RRhuWsJ+PwEgd24P
39AAoKyuFfEeeggL9aIcB1vwgJEH76f8
=R71/
-----END PGP SIGNATURE-----




More information about the fedora-devel-list mailing list