From owner-bug-octave at bevo dot che dot wisc dot edu Wed Dec 18 04:46:45 1996 Subject: warnings in compilation of 2.0 From: Francesco Potorti` To: Octave bugs list Date: Wed, 18 Dec 96 11:42 MET While compiling octave on Alpha with gcc 2.7.2 I get these warnings: gcc -c -DHANDLE_MAN_PAGES -DNAMED_FUNCTIONS=1 -DDEFAULT_INFOPATH='"/usr/users/pot/info:."' -DHAVE_LIBBSD=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_TERMIO_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_BZERO=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRERROR=1 -DHAVE_SIGPROCMASK=1 -DHAVE_SIGSETMASK=1 -DHAVE_MEMCPY=1 -DHAVE_MEMMOVE=1 -DHAVE_STRDUP=1 -I. -I. -O2 getopt.c getopt.c: In function `_getopt_internal': getopt.c:497: warning: type mismatch in implicit declaration for built-in function `strlen' gcc -I. -I. -I.. -I./.. -O2 -c getopt.c getopt.c: In function `_getopt_internal': getopt.c:486: warning: type mismatch in implicit declaration for built-in function `strlen' ar rc ../libcruft.a d1mach.o i1mach.o xstopx.o d1mach.o machar.o dostop.o f77-extern.o f77-fcn.o lo-error.o ar: Warning:ignoring second definition of d1mach_ defined in archive ranlib ../libcruft.a s - creating symbol hash table. Wait... ar: Warning:ignoring second definition of d1mach_ defined in archive ar rc ../libcruft.a cfode.o ewset.o intdy.o lsode.o prepj.o solsy.o stode.o vnorm.o xerrwv.o ar: Warning:ignoring second definition of d1mach_ defined in archive ranlib ../libcruft.a s - creating symbol hash table. Wait... ar: Warning:ignoring second definition of d1mach_ defined in archive ar rc ../libcruft.a dqagi.o dqagie.o dqagp.o dqagpe.o dqelg.o dqk15i.o dqk21.o dqpsrt.o xerror.o ar: Warning:ignoring second definition of d1mach_ defined in archive ranlib ../libcruft.a s - creating symbol hash table. Wait... ar: Warning:ignoring second definition of d1mach_ defined in archive ar rc ../libcruft.a advnst.o genbet.o genchi.o genexp.o genf.o gengam.o genmn.o gennch.o gennf.o gennor.o genprm.o genunf.o getcgn.o getsd.o ignbin.o ignlgi.o ignpoi.o ignuin.o initgn.o inrgcm.o lennob.o mltmod.o phrtsd.o qrgnin.o ranf.o setall.o setant.o setgmn.o setsd.o sexpo.o sgamma.o snorm.o wrap.o ar: Warning:ignoring second definition of d1mach_ defined in archive ranlib ../libcruft.a s - creating symbol hash table. Wait... ar: Warning:ignoring second definition of d1mach_ defined in archive ar rc ../libcruft.a d9lgmc.o dacosh.o dasinh.o datanh.o dcsevl.o derf.o derfc.o dgamlm.o dgamma.o dlgams.o dlngam.o initds.o ar: Warning:ignoring second definition of d1mach_ defined in archive ranlib ../libcruft.a s - creating symbol hash table. Wait... ar: Warning:ignoring second definition of d1mach_ defined in archive ar rc ../libcruft.a dfopr.o dif.o intrp.o jcobi.o radau.o vilerr.o ar: Warning:ignoring second definition of d1mach_ defined in archive ranlib ../libcruft.a s - creating symbol hash table. Wait... ar: Warning:ignoring second definition of d1mach_ defined in archive