[ccache] ccache compilation under MinGW/MSys lots of undefined reference to `cc_log` messages

Patrick von Reth patrick.vonreth at gmail.com
Fri Aug 5 03:14:00 MDT 2011


I have build b453d43ac0dc7097bb8afb74db70ccf5cde3a914, git head isn't
working since a while.

Here is a log
http://paste.kde.org/~windows/106729/

And btw is there a flag to disable dynamic linking against zlib?

Greetings

Patrick

On 3 August 2011 15:39, Jonathan Martens <jonathan at snetram.nl> wrote:

> Today I tried to compile ccache under MinGW/MSys as I would like to use it
> on a Windows machine.
>
> I am using gcc 4.5.2 under MinGW/MSys:
>
> $ gcc -v
> Using built-in specs.
> COLLECT_GCC=D:\MinGW\bin\gcc.**exe
> COLLECT_LTO_WRAPPER=d:/mingw/**bin/../libexec/gcc/mingw32/4.**
> 5.2/lto-wrapper.exe
> Target: mingw32
> Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,**
> fortran,obj
> c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared
> --enable-libgo
> mp --disable-win32-registry --enable-libstdcxx-debug
> --enable-version-specific-r
> untime-libs --disable-werror --build=mingw32 --prefix=/mingw
> Thread model: win32
> gcc version 4.5.2 (GCC)
>
> I have found that funcions that are defined in ccache.h are actually not
> all in ccache.c, cc_log is in util.c
>
> Could the error be related to that?
>
> Kind regards,
>
> Jonathan
> ______________________________**_________________
> ccache mailing list
> ccache at lists.samba.org
> https://lists.samba.org/**mailman/listinfo/ccache<https://lists.samba.org/mailman/listinfo/ccache>
>


More information about the ccache mailing list