[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] Is there a minimum version of GCC against which the latest
From: |
Brenton Horne |
Subject: |
[Nano-devel] Is there a minimum version of GCC against which the latest nano can be compiled? |
Date: |
Tue, 10 Jan 2017 07:46:00 +1000 |
Hi,
I have been building nano packages in my Open Build Service home
project and while it builds fine for CentOS 7, Fedora 24/25,
Scientific Linux 7, it fails to build for CentOS 5, giving the error:
[ 18s] gcc -DHAVE_CONFIG_H -I. -I../../src -I..
-DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -O2 -g -m64
-mtune=generic -Wall -MT text.o -MD -MP -MF .deps/text.Tpo -c -o
text.o .
./../src/text.c
[ 18s] mv -f .deps/browser.Tpo .deps/browser.Po
[ 18s] gcc -DHAVE_CONFIG_H -I. -I../../src -I..
-DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -O2 -g -m64
-mtune=generic -Wall -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o
utils.
o ../../src/utils.c
[ 18s] gcc -DHAVE_CONFIG_H -I. -I../../src -I..
-DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -O2 -g -m64
-mtune=generic -Wall -MT winio.o -MD -MP -MF .deps/winio.Tpo -c -o
winio.
o ../../src/winio.c
[ 18s] mv -f .deps/files.Tpo .deps/files.Po
[ 18s] mv -f .deps/search.Tpo .deps/search.Po
[ 18s] mv -f .deps/rcfile.Tpo .deps/rcfile.Po
[ 18s] gcc -DHAVE_CONFIG_H -I. -I../../src -I..
-DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -O2 -g -m64
-mtune=generic -Wall -MT nano.o -MD -MP -MF .deps/nano.Tpo -c -o
nano.o .
./../src/nano.c
[ 18s] ../../src/nano.c: In function 'get_keycode':
[ 18s] ../../src/nano.c:1524: warning: passing argument 1 of
'tigetstr' discards qualifiers from pointer target type
[ 18s] ../../src/nano.c: In function 'main':
[ 18s] ../../src/nano.c:2549: warning: implicit declaration of
function 'set_escdelay'
[ 18s] mv -f .deps/prompt.Tpo .deps/prompt.Po
[ 18s] mv -f .deps/utils.Tpo .deps/utils.Po
[ 18s] mv -f .deps/winio.Tpo .deps/winio.Po
[ 19s] mv -f .deps/text.Tpo .deps/text.Po
[ 19s] mv -f .deps/nano.Tpo .deps/nano.Po
[ 19s] gcc -O2 -g -m64 -mtune=generic -Wall -o nano browser.o
chars.o color.o cut.o files.o global.o help.o move.o nano.o prompt.o
rcfile.o search.o text.o utils.o winio.o -lz -lmagic -ln
cursesw
[ 19s] nano.o: In function `main':
[ 19s] /usr/src/redhat/BUILD/nano-2.7.3/build/src/../../src/nano.c:2549:
undefined reference to `set_escdelay'
[ 19s] collect2: ld returned 1 exit status
[ 19s] make[2]: *** [nano] Error 1
[ 19s] make[2]: Leaving directory `/usr/src/redhat/BUILD/nano-2.7.3/build/src'
[ 19s] make[1]: *** [all-recursive] Error 1
[ 19s] make[1]: Leaving directory `/usr/src/redhat/BUILD/nano-2.7.3/build'
[ 19s] make: *** [all] Error 2
[ 19s] error: Bad exit status from /var/tmp/rpm-tmp.58032 (%build)
[ 19s]
[ 19s]
[ 19s] RPM build errors:
[ 19s] Bad exit status from /var/tmp/rpm-tmp.58032 (%build)
[ 19s]
[ 19s] fusion809-pc failed "build nano.spec" at Mon Jan 9 21:34:49 UTC 2017.
[ 19s]
as it builds fine on build systems with newer versions of GCC I am
left asking is this an error caused by how old the GCC I'm using to
build nano is, or is it caused by something that can easily be
patched? I would have reported this at your bug tracker but I thought
it's best to confirm that this is a bug first.
Thanks for your time,
Brenton
- [Nano-devel] Is there a minimum version of GCC against which the latest nano can be compiled?,
Brenton Horne <=