gcc-4.3.2 related buiid issue
Jan Kratochvil
jan.kratochvil at redhat.com
Sun Oct 12 11:44:36 UTC 2008
On Wed, 08 Oct 2008 20:31:18 +0200, Jochen Schmitt wrote:
> 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'
...
> collect2: ld returned 1 exit status
> make[1]: *** [compile] Error 1
...
> http://koji.fedoraproject.org/koji/getfile?taskID=868972&name=build.log
Upstream makefile is racy which fails on `make -j' due to (correct) .spec:
make %{?_smp_mflags} [...]
Regards,
Jan
-------------- next part --------------
--- highlight-2.6.13/src/makefile-orig 2008-09-30 03:09:52.000000000 +0200
+++ highlight-2.6.13/src/makefile 2008-10-12 13:28:20.000000000 +0200
@@ -69,7 +69,7 @@ endif
compile: ${OBJECTFILES} libhighlight.a
${BUILD_CMD}
-libhighlight.a:
+libhighlight.a: ${CORE_OBJECTS}
echo "compile lib...."
${AR} ${ARFLAGS} libhighlight.a ${CORE_OBJECTS}
More information about the fedora-devel-list
mailing list