Re: Problems with getopt

2017-04-19 Thread Gisle Vanem
Christian Egli wrote: ../tools/gnulib/.libs/libgnutools.a(getopt.o): In function `process_long_option': /home/eglic/src/liblouis/tools/gnulib/getopt.c:281: undefined reference to `flockfile' /home/eglic/src/liblouis/tools/gnulib/getopt.c:295: undefined reference to `funlockfile' collect2: err

Problems with getopt

2017-04-19 Thread Christian Egli
Hi all I'm using the latest checkout from gnulib an I'm trying to upgrade to it. However when I cross-compile my project under mingw I get a compilation error in gnulib/getopt.c: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../liblouis -I../liblouis -I../tools/gnulib -I../tools/gnulib -g -O2 -W