On Nov 10, 2005, at 8:44 PM, Kurt Seiffert wrote:
I'm getting errors when trying to compile 1.4.0 under AIX 5.3.0.
Here is the last part of the output from running make:
case rs_aix53 in *_linux* | *_umlinux* ) cc -O -I/N/u/
seiffert/Libra/openafs-1.4.0/src/config -I. -I. -I/N/u/seiffert/
Libra/openafs-1.4.0/include -I/N/u/seiffert/Libra/openafs-1.4.0/
include/afs -I/N/u/seiffert/Libra/openafs-1.4.0/include/rx -I/N/u/
seiffert/Libra/openafs-1.4.0 -I/N/u/seiffert/Libra/openafs-1.4.0/
src -I/N/u/seiffert/Libra/openafs-1.4.0/src -K -D_NO_PROTO -
D_NONSTD_TYPES -D_MBI=void -o compile_et compile_et.o
error_table.o -L/N/u/seiffert/Libra/openafs-1.4.0/lib -lafsutil;;
* ) cc -O -I/N/u/seiffert/Libra/openafs-1.4.0/src/config -I. -I.
-I/N/u/seiffert/Libra/openafs-1.4.0/include -I/N/u/seiffert/Libra/
openafs-1.4.0/include/afs -I/N/u/seiffert/Libra/openafs-1.4.0/
include/rx -I/N/u/seiffert/Libra/openafs-1.4.0 -I/N/u/seiffert/
Libra/openafs-1.4.0/src -I/N/u/seiffert/Libra/openafs-1.4.0/src -K
-D_NO_PROTO -D_NONSTD_TYPES -D_MBI=void -o compile_et compile_et.o
error_table.o -L/N/u/seiffert/Libra/openafs-1.4.0/lib -lafsutil -
ll;; esac
cc: unrecognized option `-K'
ld: 0711-317 ERROR: Undefined symbol: yyin
ld: 0711-317 ERROR: Undefined symbol: yyout
ld: 0711-317 ERROR: Undefined symbol: .yylex
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
The version of the gcc I have available to me on this system is:
cc -v
Reading specs from /opt/freeware/lib/gcc-lib/powerpc-ibm-
aix5.2.0.0/3.3.2/specs
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/
bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/
freeware --enable-threads --disable-shared --enable-version-
specific-runtime-libs --host=powerpc-ibm-aix5.2.0.0
Thread model: aix
gcc version 3.3.2
I never heard of somebody succeeding to compile OpenAFS on AIX with gcc.
I don't think it's possible to build a kernel module without the IBM
compiler.
Could this be part of the problem?
Not the problem you're having right now, but you're headed towards
more ... ;-) (with gcc)
The errors above are just from yacc. Those symbols are global
variables usually defined by yacc.
Horst
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info