bug-make
[Top][All Lists]
Advanced

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

RE: GNUmake v4.4 port on Solaris with gcc 9.5.0


From: Christian Jullien
Subject: RE: GNUmake v4.4 port on Solaris with gcc 9.5.0
Date: Thu, 3 Nov 2022 06:57:49 +0100

I'm sorry, I was also compiling less 608 and I've read the wrong PuTTY window.

Here is the correct one for make v4.4 on Solaris 10 with gcc 9.5.0:


gcc -DHAVE_CONFIG_H -I. -I../src   -I/usr/local/include  -Wno-cast-qual 
-Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef 
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion 
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits 
-Wno-unsuffixed-float-constants -g -O2 -MT libgnu_a-concat-filename.o -MD -MP 
-MF .deps/libgnu_a-concat-filename.Tpo -c -o libgnu_a-concat-filename.o `test 
-f 'concat-filename.c' || echo './'`concat-filename.c
concat-filename.c: In function 'concatenated_filename':
concat-filename.c:69:7: warning: implicit declaration of function 'stpcpy' 
[-Wimplicit-function-declaration]
   69 |   p = stpcpy (p, filename);
      |       ^~~~~~
concat-filename.c:69:7: warning: incompatible implicit declaration of built-in 
function 'stpcpy'


-----Original Message-----
From: Christian Jullien [mailto:eligis@orange.fr] 
Sent: Thursday, November 03, 2022 06:51
To: psmith@gnu.org; jullien@eligis.com; make-w32@gnu.org
Subject: GNUmake v4.4 port on Solaris with gcc 9.5.0

Hi again,

If you care, here are few warnings I've got compiling v4.4 on Solaris 10 using 
gcc 9.5.0 which is the latest gcc version supported by Solaris 10.

[jullien@pastre]less-608$ ./configure; make
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/local/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for tgoto in -ltinfo... no
checking for tgoto in -ltinfow... no
checking for initscr in -lxcurses... no
checking for initscr in -lncursesw... no
checking for initscr in -lncurses... yes
checking for initscr in -lcurses... yes
checking for tgetent in -ltermcap... yes
checking for tgetent in -ltermlib... yes
checking for library containing regcmp... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/stream.h usability... yes
checking sys/stream.h presence... yes
checking for sys/stream.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking whether stat file-mode macros are broken... no
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working terminal libraries... using -lncurses
checking for off_t... (cached) yes
checking for void... yes
checking for const... yes
checking for time_t... yes
checking for st_ino in struct stat... yes
checking for procfs... no
checking for ANSI function prototypes... yes
checking return type of signal handlers... void
checking for fchmod... yes
checking for fsync... yes
checking for nanosleep... no
checking for poll... yes
checking for popen... yes
checking for realpath... yes
checking for _setjmp... yes
checking for sigprocmask... yes
checking for sigsetmask... no
checking for snprintf... yes
checking for stat... yes
checking for system... yes
checking for ttyname... yes
checking for usleep... yes
checking for memcpy... yes
checking for strchr... yes
checking for strstr... yes
checking for tcgetattr... yes
checking for fileno... yes
checking for strerror... yes
checking for sys_errlist... yes
checking for sigset_t... yes
checking for sigemptyset... yes
checking for errno... yes - in errno.h
checking for locale... yes
checking for ctype functions... yes
checking for wctype functions... yes
checking termcap for ospeed... yes - must define
checking for floating point... yes
checking for POSIX regcomp... yes
regular expression library:  posix
configure: creating ./config.status
config.status: creating Makefile
config.status: creating defines.h
test ! -f stamp-h || CONFIG_FILES= CONFIG_HEADERS=defines.h ./config.status
touch stamp-h
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
main.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
screen.c
screen.c: In function 'ltgetflag':
screen.c:712:10: warning: implicit declaration of function 'tgetflag'; did you 
mean 'ltgetflag'? [-Wimplicit-function-declaration]
  712 |  return (tgetflag(capname));
      |          ^~~~~~~~
      |          ltgetflag
screen.c: In function 'ltgetnum':
screen.c:725:10: warning: implicit declaration of function 'tgetnum'; did you 
mean 'ltgetnum'? [-Wimplicit-function-declaration]
  725 |  return (tgetnum(capname));
      |          ^~~~~~~
      |          ltgetnum
screen.c: In function 'get_term':
screen.c:1203:6: warning: implicit declaration of function 'tgetent'; did you 
mean 'lgetenv'? [-Wimplicit-function-declaration]
 1203 |  if (tgetent(termbuf, term) != TGETENT_OK)
      |      ^~~~~~~
      |      lgetenv
screen.c: In function 'cost':
screen.c:1427:2: warning: implicit declaration of function 'tputs'; did you 
mean 'puts'? [-Wimplicit-function-declaration]
 1427 |  tputs(t, sc_height, inc_costcount);
      |  ^~~~~
      |  puts
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
brac.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 ch.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
charset.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
cmdbuf.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
command.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 cvt.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
decode.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
edit.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
filename.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
forwback.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
help.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
ifile.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
input.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
jump.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
line.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
linenum.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
lsystem.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
mark.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
optfunc.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
option.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
opttbl.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 os.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
output.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
pattern.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
position.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
prompt.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
search.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
signal.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
tags.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
ttyin.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
version.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
xbuf.c
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
lesskey_parse.c
In file included from lesskey_parse.c:16:
defines.h:457: warning: "_FILE_OFFSET_BITS" redefined
  457 | #define _FILE_OFFSET_BITS 64
      |
In file included from 
/usr/local/lib/gcc/sparc-sun-solaris2.10/9.5.0/include-fixed/stdio.h:30,
                 from lesskey_parse.c:10:
/usr/local/lib/gcc/sparc-sun-solaris2.10/9.5.0/include-fixed/sys/feature_tests.h:196:
 note: this is the location of the previous definition
  196 | #define _FILE_OFFSET_BITS 32
      |
gcc  -o less main.o screen.o brac.o ch.o charset.o cmdbuf.o command.o cvt.o 
decode.o edit.o filename.o forwback.o help.o ifile.o input.o jump.o line.o 
linenum.o lsystem.o mark.o optfunc.o option.o opttbl.o os.o output.o pattern.o 
position.o prompt.o search.o signal.o tags.o ttyin.o version.o xbuf.o   
lesskey_parse.o -lncurses
/usr/local/bin/ld: 
/usr/local/lib/gcc/sparc-sun-solaris2.10/9.5.0/../../../libncurses.so: .dynsym 
local symbol at index 8 (>= sh_info of 3)
/usr/local/bin/ld: 
/usr/local/lib/gcc/sparc-sun-solaris2.10/9.5.0/../../../libncurses.so: .dynsym 
local symbol at index 337 (>= sh_info of 3)
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
lesskey.c
In file included from lesskey.c:88:
defines.h:457: warning: "_FILE_OFFSET_BITS" redefined
  457 | #define _FILE_OFFSET_BITS 64
      |
In file included from 
/usr/local/lib/gcc/sparc-sun-solaris2.10/9.5.0/include-fixed/stdio.h:30,
                 from lesskey.c:83:
/usr/local/lib/gcc/sparc-sun-solaris2.10/9.5.0/include-fixed/sys/feature_tests.h:196:
 note: this is the location of the previous definition
  196 | #define _FILE_OFFSET_BITS 32
      |
gcc  -o lesskey lesskey.o lesskey_parse.o xbuf.o version.o
gcc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/usr/local/etc\"  -g -O2 
lessecho.c
gcc  -o lessecho lessecho.o version.o

Cheers!




reply via email to

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