[erlang-questions] Errors compiling erlang on AIX 5.3

Oskar Kossuth <>
Wed Mar 28 17:15:49 CEST 2007


I'm having problem compiling erlang on AIX 5.3. Im using GNU gcc and Make
and AIX include headers.
I got the following error:

make[3]: Entering directory `/home/okossuth/otp_src_R11B-4/lib/parsetools/src'
erlc -W   +debug_info -I/home/okossuth/otp_src_R11B-4/lib/stdlib/include
-o../ebin yecc.erl
exec(): 0509-036 Cannot load program
/home/okossuth/otp_src_R11B-4/bin/powerpc-ibm-aix5.3.0.0/beam because of the
following errors:
        0509-151 The program does not have an entry point or
                   the o_snentry field in the auxiliary header is invalid.
        0509-194 Examine file headers with the 'dump -ohv' command.
make[3]: *** [../ebin/yecc.beam] Error 255
make[3]: Leaving directory `/home/okossuth/otp_src_R11B-4/lib/parsetools/src'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/home/okossuth/otp_src_R11B-4/lib/parsetools'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/home/okossuth/otp_src_R11B-4/lib'
make: *** [secondary_bootstrap_build] Error 2

I think its a problem with libraries..
Any ideas how to solve this??

Thanks.




More information about the erlang-questions mailing list