Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on IBM AIX with /usr/bin/CC #3446

Closed
vicuna opened this issue Jan 25, 2005 · 1 comment
Closed

Installation on IBM AIX with /usr/bin/CC #3446

vicuna opened this issue Jan 25, 2005 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jan 25, 2005

Original bug ID: 3446
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Christoph Bauer
Version: 3.08.2
OS: IBM AIX
Submission from: 213.68.136.226 (213.68.136.226)

Here is another problem on IBM AIX. OCaml was configured now with /usr/bin/CC.

/usr/bin/CC -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_none
-DSYS_unknown -O -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o startup.o
startup.c
"../byterun/config.h", line 34.15: 1506-334 (S) Identifier int16 has already
been defined on line 619 of "/usr/include/sys/inttypes.h".
"../byterun/config.h", line 38.13: 1506-334 (S) Identifier int32 has already
been defined on line 620 of "/usr/include/sys/inttypes.h".
"../byterun/config.h", line 49.25: 1506-334 (S) Identifier int64 has already
been defined on line 625 of "/usr/include/sys/inttypes.h".
make[1]: *** [startup.o] Error 1
make[1]: Leaving directory
`/projekte/backup/tools/unix/build/ocaml/ocaml-3.08.2/asmrun'
make: *** [runtimeopt] Error 2
$ uname -a
AIX XXXXX 2 5 005A2ECC4C00

@vicuna
Copy link
Author

vicuna commented Jan 25, 2005

Comment author: administrator

Here is another problem on IBM AIX. OCaml was configured now with
/usr/bin/CC.

/usr/bin/CC -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_none
-DSYS_unknown -O -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o startup.o
startup.c
"../byterun/config.h", line 34.15: 1506-334 (S) Identifier int16 has already
been defined on line 619 of "/usr/include/sys/inttypes.h".

AIX include files are not standard-conformant by default (name
pollution issue). Try to configure with
configure -cc "/usr/bin/CC -D_XOPEN_SOURCE=500"

AIX is full of little traps like this, which is why I gave up on it.
Don't expect much support from us in trying to get OCaml running on it.

Good luck,

  • Xavier Leroy

@vicuna vicuna closed this as completed Jan 27, 2005
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant