bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Re: [pdf-devel] Build failure


From: Stefan Husmann
Subject: Fwd: Re: [pdf-devel] Build failure
Date: Wed, 17 Oct 2012 01:04:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120522 Icedove/11.0

Hello,

I filed a bug to the gnupdf mailing list because of a build error I encountered 
there.
Now I created a patch to solve this, which is attached.

I was asked to send the patch to this list, because a gnulib file is effected.

Best Regards

Stefan

-------- Original-Nachricht --------
Betreff: Re: [pdf-devel] Build failure
Datum: Fri, 12 Oct 2012 18:23:13 +0200
Von: Stefan Husmann <address@hidden>
An: address@hidden

Am 06.07.2012 18:13, schrieb Stefan Husmann:
Hello,

under a recent Arch Linux, which comes with gcc 4.7.1, I get an error:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../src -march=x86-64 
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 
-D_FORTIFY_SOURCE=2 -MT fopen-safer.lo -MD -MP -MF .deps/fopen-safer.Tpo -c 
fopen-safer.c  -fPIC -DPIC -o .libs/fopen-safer.o
In file included from stdio-safer.h:20:0,
                  from fopen-safer.c:22:
./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)
make[3]: *** [fopen-safer.lo] Error 1
make[3]: Leaving directory 
`/home/haawda/paketierung/maintained_by_me/gnupdf-bzr/src/gnupdf-build/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/haawda/paketierung/maintained_by_me/gnupdf-bzr/src/gnupdf-build/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/haawda/paketierung/maintained_by_me/gnupdf-bzr/src/gnupdf-build/lib'
make: *** [all-recursive] Fehler 1
==> FEHLER: Ein Fehler geschah in build().

How is this fixable?

Best Regards Stefan



Hello,

the attached patch fixes this for me.

A similar issue in GNU coreutils and the discussion regarding this can be found 
here:
http://comments.gmane.org/gmane.comp.gnu.coreutils.general/2525

Best Regards Stefan

Attachment: gets.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]