Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Compile errors on AIX4.3



Hi hackers,

this is what I get on AIX4.3 (with --disable-dynamic):

---------------------------------------------
[...]
	gcc -c -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2  -o builtin.o builtin.c
In file included from system.h:79,
                 from zsh.mdh:13,
                 from builtin.c:30:
/softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/sys/types.h:183: parse error before `unsigned'
/softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/sys/types.h:191: parse error before `}'
/softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/sys/types.h:191: warning: empty declaration
In file included from /softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/sys/types.h:211,
                 from system.h:79,
                 from zsh.mdh:13,
                 from builtin.c:30:
/usr/include/sys/m_types.h:87: parse error before `kvmid_t'
/usr/include/sys/m_types.h:87: warning: data definition has no type or storage class
/usr/include/sys/m_types.h:88: parse error before `kvmhandle_t'
/usr/include/sys/m_types.h:88: warning: data definition has no type or storage class
/usr/include/sys/m_types.h:90: parse error before `vpn_t'
/usr/include/sys/m_types.h:90: warning: data definition has no type or storage class
/usr/include/sys/m_types.h:92: parse error before `rpn_t'
/usr/include/sys/m_types.h:92: warning: data definition has no type or storage class
/usr/include/sys/m_types.h:94: parse error before `ext_t'
/usr/include/sys/m_types.h:94: warning: data definition has no type or storage class
/usr/include/sys/m_types.h:95: parse error before `vmsize_t'
/usr/include/sys/m_types.h:95: warning: data definition has no type or storage class
/usr/include/sys/m_types.h:117: parse error before `ulong32int64_t'
/usr/include/sys/m_types.h:117: warning: no semicolon at end of struct or union
/usr/include/sys/m_types.h:118: warning: data definition has no type or storage class
/usr/include/sys/m_types.h:123: parse error before `}'
/usr/include/sys/m_types.h:123: warning: data definition has no type or storage class
In file included from /usr/include/sys/lockf.h:45,
                 from /softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/unistd.h:383,
                 from system.h:83,
                 from zsh.mdh:13,
                 from builtin.c:30:
/usr/include/sys/stat.h:101: parse error before `blksize_t'
/usr/include/sys/stat.h:101: warning: no semicolon at end of struct or union
/usr/include/sys/stat.h:122: parse error before `}'
/usr/include/sys/stat.h:196: parse error before `blksize_t'
/usr/include/sys/stat.h:196: warning: no semicolon at end of struct or union
/usr/include/sys/stat.h:204: conflicting types for `st_reserved'
/usr/include/sys/stat.h:112: previous declaration of `st_reserved'
/usr/include/sys/stat.h:210: parse error before `}'
In file included from /usr/include/sys/context.h:40,
                 from /softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/sys/signal.h:268,
                 from /usr/include/signal.h:34,
                 from system.h:89,
                 from zsh.mdh:13,
                 from builtin.c:30:
/usr/include/sys/mstsave.h:75: parse error before `adspace_t'
/usr/include/sys/mstsave.h:75: warning: no semicolon at end of struct or union
/usr/include/sys/mstsave.h:117: parse error before `}'
In file included from /softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/sys/signal.h:268,
                 from /usr/include/signal.h:34,
                 from system.h:89,
                 from zsh.mdh:13,
                 from builtin.c:30:
/usr/include/sys/context.h:227: field `jmp_context' has incomplete type
In file included from /usr/include/sys/resource.h:43,
                 from /softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/sys/wait.h:45,
                 from /softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/stdlib.h:224,
                 from system.h:129,
                 from zsh.mdh:13,
                 from builtin.c:30:
/usr/include/sys/time.h:79: parse error before `suseconds_t'
/usr/include/sys/time.h:79: warning: no semicolon at end of struct or union
/usr/include/sys/time.h:89: field `it_interval' has incomplete type
/usr/include/sys/time.h:90: field `it_value' has incomplete type
/usr/include/sys/time.h:240: parse error before `suseconds_t'
/usr/include/sys/time.h:240: warning: no semicolon at end of struct or union
/usr/include/sys/time.h:247: field `it_interval' has incomplete type
/usr/include/sys/time.h:248: field `it_value' has incomplete type
In file included from /softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/sys/wait.h:45,
                 from /softsrv1/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/egcs-2.91.66/include/stdlib.h:224,
                 from system.h:129,
                 from zsh.mdh:13,
                 from builtin.c:30:
/usr/include/sys/resource.h:86: warning: empty declaration
/usr/include/sys/resource.h:162: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:163: field `ru_stime' has incomplete type
/usr/include/sys/resource.h:164: parse error before `long32int64_t'
/usr/include/sys/resource.h:164: warning: no semicolon at end of struct or union
/usr/include/sys/resource.h:165: warning: data definition has no type or storage class
/usr/include/sys/resource.h:166: parse error before `ru_idrss'
/usr/include/sys/resource.h:166: warning: data definition has no type or storage class
/usr/include/sys/resource.h:167: parse error before `ru_isrss'
/usr/include/sys/resource.h:167: warning: data definition has no type or storage class
/usr/include/sys/resource.h:168: parse error before `ru_minflt'
/usr/include/sys/resource.h:168: warning: data definition has no type or storage class
/usr/include/sys/resource.h:169: parse error before `ru_majflt'
/usr/include/sys/resource.h:169: warning: data definition has no type or storage class
/usr/include/sys/resource.h:170: parse error before `ru_nswap'
/usr/include/sys/resource.h:170: warning: data definition has no type or storage class
/usr/include/sys/resource.h:171: parse error before `ru_inblock'
/usr/include/sys/resource.h:171: warning: data definition has no type or storage class
/usr/include/sys/resource.h:172: parse error before `ru_oublock'
/usr/include/sys/resource.h:172: warning: data definition has no type or storage class
/usr/include/sys/resource.h:173: parse error before `ru_msgsnd'
/usr/include/sys/resource.h:173: warning: data definition has no type or storage class
/usr/include/sys/resource.h:174: parse error before `ru_msgrcv'
/usr/include/sys/resource.h:174: warning: data definition has no type or storage class
/usr/include/sys/resource.h:175: parse error before `ru_nsignals'
/usr/include/sys/resource.h:175: warning: data definition has no type or storage class
/usr/include/sys/resource.h:176: parse error before `ru_nvcsw'
/usr/include/sys/resource.h:176: warning: data definition has no type or storage class
/usr/include/sys/resource.h:177: parse error before `ru_nivcsw'
/usr/include/sys/resource.h:177: warning: data definition has no type or storage class
/usr/include/sys/resource.h:190: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:191: field `ru_stime' has incomplete type
In file included from zsh.mdh:13,
                 from builtin.c:30:
system.h:149: redefinition of `struct timezone'
In file included from zsh.mdh:14,
                 from builtin.c:30:
zsh.h:718: field `bgtime' has incomplete type
zsh.h:719: field `endtime' has incomplete type
In file included from zsh.mdh:46,
                 from builtin.c:30:
utils.epro:59: warning: `struct tm' declared inside parameter list
utils.epro:59: warning: its scope is only this definition or declaration,
utils.epro:59: warning: which is probably not what you want.
utils.epro:88: parse error before `*'
builtin.c: In function `bin_cd':
builtin.c:672: storage size of `st1' isn't known
builtin.c:672: storage size of `st2' isn't known
builtin.c:672: warning: unused variable `st2'
builtin.c:672: warning: unused variable `st1'
builtin.c: In function `fixdir':
builtin.c:1114: storage size of `st' isn't known
builtin.c:1114: warning: unused variable `st'
builtin.c: In function `fclist':
builtin.c:1420: warning: assignment makes pointer from integer without a cast
builtin.c:1424: dereferencing pointer to incomplete type
builtin.c:1425: dereferencing pointer to incomplete type
builtin.c:1425: dereferencing pointer to incomplete type
builtin.c:1428: dereferencing pointer to incomplete type
builtin.c:1428: dereferencing pointer to incomplete type
builtin.c:1429: dereferencing pointer to incomplete type
builtin.c:1432: dereferencing pointer to incomplete type
builtin.c:1432: dereferencing pointer to incomplete type
builtin.c:1433: dereferencing pointer to incomplete type
builtin.c:1436: dereferencing pointer to incomplete type
builtin.c:1436: dereferencing pointer to incomplete type
builtin.c: In function `bin_dot':
builtin.c:3255: storage size of `st' isn't known
builtin.c:3255: warning: unused variable `st'
make: 1254-004 The error code from the last command is 1.

---------------------------------------------

3.1.6 compiled well on the same system.

Regards,
Bernd

-- 
Bernd Eggink
Regionales Rechenzentrum der Uni Hamburg
eggink@xxxxxxxxxxxxxx
http://www.rrz.uni-hamburg.de/eggink/BEggink.html



Messages sorted by: Reverse Date, Date, Thread, Author