here ist the error in his full glory.
+ make echo @`sh cflags "optimize='-O2 -g '" opmini.o` -DPERL_IS_MI +NIPERL -DPERL_EXTERNAL_GLOB opmini.c @/usr/bin/gcc -maix32 -maix32 -c -DPERL_CORE -D_THREAD_SAFE -D_ALL_SOU +RCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHRE +AD_INIT -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LA +RGE_FILES -O2 -g -Wall -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB opmini +.c In file included from op.h:636:0, from perl.h:3903, from op.c:103: reentr.h:719:14: error: field '_spent_struct' has incomplete type struct spwd _spent_struct; ^~~~~~~~~~~~~ make: The error code from the last command is 1.
the configure options
Is there any perl bugtracker where one can report this kind of errors? I dont know how to report compilation errors with perlbug.export OBJECT_MODE=32 export CC='/usr/bin/gcc -maix32' export LDFLAGS="-s -Wl,-bmaxdata:0x80000000 -L/opt/freeware/lib -L/usr +/lib" ./Configure -desr -Doptimize="$RPM_OPT_FLAGS" \ -d \ -Dcc="$CC" -Dldflags="$LDFLAGS" \ -Dinstallprefix=$RPM_BUILD_ROOT%{_prefix} \ -Dprefix=%{_prefix} \ -Duselargefiles \ -Duseshrplib \ -Dusethreads \ -Darchname=%{_arch}-%{_os} \ -A define:ld='/usr/bin/gcc -maix32' \ -A define:ccdlflags='-brtl -bdynamic' \ -A define:lddlflags='-bexpall -G -L/opt/freeware/lib' make #make test ( make -k check || true ) # build 64bit mode export OBJECT_MODE=64 cd 64bit export CC='/usr/bin/gcc -maix64' export LDFLAGS="-s -Wl,-bmaxdata:0x80000000 -L/opt/freeware/lib64 -L/u +sr/lib64 -L/opt/freeware/lib" ./Configure -desr -Doptimize="$RPM_OPT_FLAGS" \ -d \ -Dcc="$CC" -Dldflags="$LDFLAGS" \ -Dinstallprefix=$RPM_BUILD_ROOT%{_prefix} \ -Dprefix=%{_prefix} \ -Duselargefiles \ -Duseshrplib \ -Dusethreads \ -Duse64bitall \ -Darchname=%{_arch}-%{_os} \ -A define:ld='/usr/bin/gcc -maix64' \ -A define:ccdlflags='-brtl -bdynamic' \ -A define:lddlflags='-bexpall -G -L/opt/freeware/lib64 -L/usr +/lib64 -L/opt/freeware/lib' make
In reply to Perl: AIX compile error by flynn7312
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |