Compiling on AIX 5.3

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
elisegev
Posts: 50
Joined: 2005-09-28T07:47:13-07:00
Contact:

Compiling on AIX 5.3

Post by elisegev »

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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

The conftest.c source is permitted to fail to compile. That is how the configure script determine whether something works on a particular architecture or not. You should be able to safely continue and let the configure script complete.
Post Reply