RE: [rfa/rfc] Build libcommon.a for gdb and gdbserver

Pierre Muller
2011-02-14T17:36:46Z

I am having troubles compiling mingw64 host from cygwin
in common directory I get this error:
source='/cygdrive/e/cygwin/usr/local/src/gdbcvs/src/gdb/common/signals.c'
object
='signals.o' libtool=no x86_64-w64-mingw32-gcc -I. -I../
-I/cygdrive/e/cygwin/u
sr/local/src/gdbcvs/src/gdb/common
-I/cygdrive/e/cygwin/usr/local/src/gdbcvs/src
/gdb/common/../../include
-I/cygdrive/e/cygwin/usr/local/src/gdbcvs/src/gdb/comm
on/../ -I../../bfd -c
/cygdrive/e/cygwin/usr/local/src/gdbcvs/src/gdb/common/
signals.c
In file included from
/cygdrive/e/cygwin/usr/local/src/gdbcvs/src/gdb/common/../
defs.h:63:0,
from
/cygdrive/e/cygwin/usr/local/src/gdbcvs/src/gdb/common/sig
nals.c:25:
/cygdrive/e/cygwin/usr/local/src/gdbcvs/src/gdb/common/../gdb_locale.h:28:22
: fa
tal error: libintl.h: No such file or directory
compilation terminated.
make[2]: *** [signals.o] Error 1
make[2]: Leaving directory
`/cygdrive/e/cygwin/usr/local/src/gdbcvs/mingw64-buil
d17/gdb/common'
make[1]: *** [subdir_do] Error 1
make[1]: Leaving directory
`/cygdrive/e/cygwin/usr/local/src/gdbcvs/mingw64-buil
d17/gdb'
make: *** [common/libcommon.a] Error 2

Pierre@E6510-Muller ~/gdbcvs/mingw64-build17/gdb

-I../../intl
seems required but is missing,
probably INTL_CFLAGS should be passed on to common subdir,

I tried to look into this, but I didn't understand why I
didn't get this error in other configuration...

Pierre Muller
GDB pascal language maintainer