Compiling on AIX 5.3
Posted: 2006-07-12T11:41:48-07:00
I am running the configure utility for ImageMagick on AIX 5.3. I get the following errors:
1.
configure:5265: gcc -o conftest -g -O2 -Wall conftest.c -lpthreads >&5
In file included from conftest.c:10:
/usr/include/pthread.h:582: error: parse error before '*' token
The line is: pthread_rwlock_destroy __((pthread_rwlock_t *));
It seems that pthread_rwlock_t is not defined. There are other lines where this error occurs too.
2.
cc1: error: unrecognized option `-fthread-safe'
3.
configure:5221: checking whether pthreads work with -mt
configure:5265: gcc -o conftest -g -O2 -Wall -mt conftest.c >&5
cc1: error: invalid option `t'
4.
configure:5740: checking for _FILE_OFFSET_BITS value needed for large files
configure:5771: gcc -c -g -O2 -Wall conftest.c >&5
conftest.c:16: warning: left shift count >= width of type
conftest.c:16: warning: left shift count >= width of type
conftest.c:18: error: size of array `off_t_is_large' is negative
There are many more errors. Should I ignore them and continue?
1.
configure:5265: gcc -o conftest -g -O2 -Wall conftest.c -lpthreads >&5
In file included from conftest.c:10:
/usr/include/pthread.h:582: error: parse error before '*' token
The line is: pthread_rwlock_destroy __((pthread_rwlock_t *));
It seems that pthread_rwlock_t is not defined. There are other lines where this error occurs too.
2.
cc1: error: unrecognized option `-fthread-safe'
3.
configure:5221: checking whether pthreads work with -mt
configure:5265: gcc -o conftest -g -O2 -Wall -mt conftest.c >&5
cc1: error: invalid option `t'
4.
configure:5740: checking for _FILE_OFFSET_BITS value needed for large files
configure:5771: gcc -c -g -O2 -Wall conftest.c >&5
conftest.c:16: warning: left shift count >= width of type
conftest.c:16: warning: left shift count >= width of type
conftest.c:18: error: size of array `off_t_is_large' is negative
There are many more errors. Should I ignore them and continue?