Installing ADPACK on Mac |
- Date: 2010/09/27 08:29
- Name: Elon Weintraub
<elon@weintraub.name>
- I downloaded and untarred ADPACK, and I tried following the simple installation instructions. However I got the following error. The Operating system in question is 10.6.4, and the processor is an 2.26 GHz Intel Core 2 Duo
"adpack.c: In function emainf: adpack.c:223: warning: incompatible implicit declaration of built-in function estrlenf gcc -I/usr/local/include -I/home/ozaki/include -c Inputtools.c Inputtools.c:85: error: conflicting types for estrcasestrf /usr/include/string.h:88: error: previous declaration of estrcasestrf was here Inputtools.c: In function estrcasestrf: Inputtools.c:96: warning: cast from pointer to integer of different size Inputtools.c:96: warning: cast from pointer to integer of different size Inputtools.c: In function einput_cmpstringf: Inputtools.c:124: warning: format e%df expects type eintf, but argument 2 has type esize_tf Inputtools.c:124: warning: format e%df expects type eintf, but argument 3 has type esize_tf make: *** [Inputtools.o] Error 1 "
I looked at the source of Inputtools.c, and I found the problem line. I tried changing the variable types around and casting differently, but I was out of luck. Has anyone else run into this problem. Is there a different compiler I should try?
Thanks, Elon Weintraub
| |