Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On 10/10/2015 11:42 AM, Giuseppe Castagno wrote:
Making all in lib
   CXX      libwpd_internal.lo
clang: error: argument unused during compilation: '-I .'
clang: error: argument unused during compilation: '-I ../..'
clang: error: argument unused during compilation: '-I ../../inc'
clang: error: argument unused during compilation: '-I
/srv5/git/LO/lo-clang-test/workdir/UnpackedTarball/librevenge/inc'
Makefile:1042: recipe for target 'libwpd_internal.lo' failed
make[5]: *** [libwpd_internal.lo] Error 1
Makefile:366: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
Makefile:478: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:388: recipe for target 'all' failed
make[2]: *** [all] Error 2
/srv5/git/LO/lo-clang-test/external/libwpd/ExternalProject_libwpd.mk:23:
recipe for target
'/srv5/git/LO/lo-clang-test/workdir/ExternalProject/libwpd/build' failed
make[1]: ***
[/srv5/git/LO/lo-clang-test/workdir/ExternalProject/libwpd/build] Error 1
Makefile:103: recipe for target 'libwpd' failed
make: *** [libwpd] Error 2

Smells like compile-step specific -I switches are passed into a compiler invocation that ultimately just causes a link-step. I'd try to get better information about what commands are actually invoked by the build (something like "make libwpd verbose=1") and figure out from there (might be an autotools issue?; building libwpd involves the dreaded libtool AFAIK). I cannot reproduce here (Fedora 22, recent Clang trunk build).

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.