This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 10/13] don't check for unistd.h


> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Date: Tue, 19 Nov 2013 18:55:47 -0200
> 
>   I am not totally sure this is related,
> but I got a new error when trying to cross compile
> for i686-w64-mingw32 using cygwin.
> m32r-rom.o: dans la fonction « m32r_upload_command »:
> /home/Pierre/git/build/binu-gdb-mingw32/gdb/../../../binutils-gdb/gdb/m32r-r
> om.c:472: référence indéfinie vers «
> _imp__gethostname_used_without_requesting_gnulib_module_gethostname@8 »
> collect2: erreur: ld a retourné 1 code d'état d'exécution
> 
> I tried to run ./config.status --recheck; make
> but that did not solve the problem...
> 
> To double check, I completely erased the build directory
> and reran the "../build/XXX/configure" with required options
> and  "make all-gdb": Same error...
> 
> Could someone double-check if this is a general problem
> with mingw target?

It's a real problem, and comes with gnulib, see
gdb/gnulib/import/unistd.in.h.  (Isn't the error message
self-explanatory enough?)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]