[xcrysden] has anyone compiled xcrysden on AIX ?

Oliver Albertini ora at georgetown.edu
Thu Jul 25 03:09:21 CEST 2013


Hello,

I am trying to compile xcrysden on AIX 6.1, and have run into trouble
building the static library Mesa. It is complaining that getopt.h is not
present. The built-in header file for getopt in AIX is unistd.h  instead.
But it doesn't have all the functions: compiler_opts in src/glsl/main.cpp
gives the following error:

xlC -c -I. -I../mesa -I../mapi -I../../include  -q64 -O -DAIXV3 -DPTHREADS
  main.cpp -o main.o
"main.cpp", line 161.21: 1540-1118 (S) The declaration of "compiler_opts"
uses the undefined class "option" when the class must be complete.
"main.cpp", line 182.34: 1540-0274 (S) The name lookup for "compiler_opts"
did not find a declaration.
"main.cpp", line 182.50: 1540-0251 (S) The "->" operator cannot be applied
to the undefined class "struct option".
"main.cpp", line 182.65: 1540-0253 (S) This use of undefined class "option"
is not valid.
"main.cpp", line 183.29: 1540-0251 (S) The "->" operator cannot be applied
to the undefined class "struct option".
"main.cpp", line 268.44: 1540-0274 (S) The name lookup for "compiler_opts"
did not find a declaration.


Also I cannot find a way to specify that ARCH_FLAGS=ar -X64.

Any help with this would be greatly appreciated,

Sincerely,

Oliver Albertini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20130724/a5502aa0/attachment.htm 


More information about the XCrySDen mailing list