On Tue, Sep 18, 2012 at 1:17 AM, niXman <i.nixman@xxxxxxxxx> wrote: > 2012/9/18 Christer Solskogen: > >> The patch fixed that, but now I've got a new one. >> >> make[3]: Entering directory >> `/home/solskogen/obj/_build/gcc.native.x86_64-w64-mingw32/libbacktrace' >> /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc >> -DHAVE_CONFIG_H -I. -I/home/solskogen/mingw-w64-builder/gcc/libbacktrace >> -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes >> -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -Werror -I >> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/../include -I ../libgcc >> -O2 -pipe -march=corei7 -D__USE_MINGW_ACCESS -MT posix.lo -MD -MP -MF >> .deps/posix.Tpo -c -o posix.lo >> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/posix.c >> libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. >> -I/home/solskogen/mingw-w64-builder/gcc/libbacktrace -W -Wall >> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes >> -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -Werror -I >> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/../include -I ../libgcc >> -O2 -pipe -march=corei7 -D__USE_MINGW_ACCESS -MT posix.lo -MD -MP -MF >> .deps/posix.Tpo -c >> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/posix.c -o posix.o >> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/posix.c: In function >> 'backtrace_open': >> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/posix.c:71:3: error: >> implicit declaration of function 'fcntl' >> [-Werror=implicit-function-declaration] >> fcntl (descriptor, F_SETFD, FD_CLOEXEC); >> ^ > > Today when trying to build trunk, I encountered this error. But has > not yet figured out how to fix it... I just committed a patch that should fix that problem. If there are other problems building libbacktrace, let me know. Ian