| Hi there, When building fish 1.21.11 under Mac OS X 10.4.7 I get the following error: gcc -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L -fno-optimize-sibling-calls -Wall -DLOCALEDIR=\"/usr/local/share/locale\" -DPREFIX=L\"/usr/local\" -DDATADIR=L\"/usr/local/share\" -DSYSCONFDIR=L\"/usr/local/etc\" -c -o signal.o signal.c signal.c: In function 'signal_set_handlers': signal.c:573: error: 'SIGWINCH' undeclared (first use in this function) signal.c:573: error: (Each undeclared identifier is reported only once signal.c:573: error: for each function it appears in.) make: *** [signal.o] Error 1 And under 10.3.9 it fails with gcc -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L -fno-optimize-sibling-calls -Wall -DLOCALEDIR=\"/usr/local/share/locale\" -DPREFIX=L\"/usr/local\" -DDATADIR=L\"/usr/local/share\" -DSYSCONFDIR=L\"/usr/local/etc\" -c -o main.o main.c main.c: In function `main': main.c:128: error: elements of array `long_options' have incomplete type main.c:131: warning: excess elements in struct initializer main.c:131: warning: (near initialization for `long_options[0]') main.c:131: error: `required_argument' undeclared (first use in this function) main.c:131: error: (Each undeclared identifier is reported only once main.c:131: error: for each function it appears in.) main.c:131: warning: excess elements in struct initializer main.c:131: warning: (near initialization for `long_options[0]') main.c:131: warning: excess elements in struct initializer main.c:131: warning: (near initialization for `long_options[0]') main.c:132: warning: excess elements in struct initializer main.c:132: warning: (near initialization for `long_options[0]') main.c:135: warning: excess elements in struct initializer main.c:135: warning: (near initialization for `long_options[1]') main.c:135: warning: excess elements in struct initializer main.c:135: warning: (near initialization for `long_options[1]') main.c:135: warning: excess elements in struct initializer main.c:135: warning: (near initialization for `long_options[1]') main.c:136: warning: excess elements in struct initializer main.c:136: warning: (near initialization for `long_options[1]') main.c:139: warning: excess elements in struct initializer main.c:139: warning: (near initialization for `long_options[2]') main.c:139: error: `no_argument' undeclared (first use in this function) main.c:139: warning: excess elements in struct initializer main.c:139: warning: (near initialization for `long_options[2]') main.c:139: warning: excess elements in struct initializer main.c:139: warning: (near initialization for `long_options[2]') main.c:140: warning: excess elements in struct initializer main.c:140: warning: (near initialization for `long_options[2]') main.c:143: warning: excess elements in struct initializer main.c:143: warning: (near initialization for `long_options[3]') main.c:143: warning: excess elements in struct initializer main.c:143: warning: (near initialization for `long_options[3]') main.c:143: warning: excess elements in struct initializer main.c:143: warning: (near initialization for `long_options[3]') main.c:144: warning: excess elements in struct initializer main.c:144: warning: (near initialization for `long_options[3]') main.c:147: warning: excess elements in struct initializer main.c:147: warning: (near initialization for `long_options[4]') main.c:147: warning: excess elements in struct initializer main.c:147: warning: (near initialization for `long_options[4]') main.c:147: warning: excess elements in struct initializer main.c:147: warning: (near initialization for `long_options[4]') main.c:148: warning: excess elements in struct initializer main.c:148: warning: (near initialization for `long_options[4]') main.c:151: warning: excess elements in struct initializer main.c:151: warning: (near initialization for `long_options[5]') main.c:151: warning: excess elements in struct initializer main.c:151: warning: (near initialization for `long_options[5]') main.c:151: warning: excess elements in struct initializer main.c:151: warning: (near initialization for `long_options[5]') main.c:152: warning: excess elements in struct initializer main.c:152: warning: (near initialization for `long_options[5]') main.c:155: warning: excess elements in struct initializer main.c:155: warning: (near initialization for `long_options[6]') main.c:155: warning: excess elements in struct initializer main.c:155: warning: (near initialization for `long_options[6]') main.c:155: warning: excess elements in struct initializer main.c:155: warning: (near initialization for `long_options[6]') main.c:156: warning: excess elements in struct initializer main.c:156: warning: (near initialization for `long_options[6]') main.c:159: warning: excess elements in struct initializer main.c:159: warning: (near initialization for `long_options[7]') main.c:159: warning: excess elements in struct initializer main.c:159: warning: (near initialization for `long_options[7]') main.c:159: warning: excess elements in struct initializer main.c:159: warning: (near initialization for `long_options[7]') main.c:160: warning: excess elements in struct initializer main.c:160: warning: (near initialization for `long_options[7]') main.c:163: warning: excess elements in struct initializer main.c:163: warning: (near initialization for `long_options[8]') main.c:163: warning: excess elements in struct initializer main.c:163: warning: (near initialization for `long_options[8]') main.c:163: warning: excess elements in struct initializer main.c:163: warning: (near initialization for `long_options[8]') main.c:164: warning: excess elements in struct initializer main.c:164: warning: (near initialization for `long_options[8]') main.c:128: error: storage size of `long_options' isn't known main.c:170: warning: implicit declaration of function `getopt_long' main.c:128: warning: unused variable `long_options' make: *** [main.o] Error 1 Note: both machines had built 1.21.10 cleanly. Marius -- Marius Schamschula Webmaster The Huntsville Macintosh Users Group webmaster at hmug dot org marius at schamschula dot com |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
