i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer,
Inc. build
5367)
Thanks for the quick reply
Am 28.03.2007 um 03:17 schrieb Alexander Hansen:
> Luigi Rensinghoff wrote:
>> Hi List,
>>
>> i am quite new to fink, and didnt need any suppoort
from the list
>> so far.
>>
>> I am having this problem, when i try to install
"fann" and "fann-
>> shlibs"
>>
>>
------------------------------------------------------------
---------
>> --- -----------------------------
>>
>> mkdir .libs
>> gcc -DHAVE_CONFIG_H -I. -I. -I../src/include
-I/sw/include -
>> D_REENTRANT -g -O2 -MT floatfann.lo -MD -MP -MF
.deps/
>> floatfann.Tpo - c floatfann.c -fno-common -DPIC -o
.libs/floatfann.o
>> In file included from floatfann.c:24:
>> fann.c: In function 'fann_create':
>> fann.c:52: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c: In function 'fann_create_array':
>> fann.c:166: error: 'RAND_MAX' undeclared (first use
in this function)
>> fann.c:166: error: (Each undeclared identifier is
reported only once
>> fann.c:166: error: for each function it appears
in.)
>> fann.c: In function 'fann_create_shortcut':
>> fann.c:304: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c: In function 'fann_create_shortcut_array':
>> fann.c:403: error: 'RAND_MAX' undeclared (first use
in this function)
>> fann.c: In function 'fann_destroy':
>> fann.c:699: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c:700: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c:701: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c:702: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c:703: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c:704: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c:705: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c:706: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c:707: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c:709: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> fann.c: In function 'fann_randomize_weights':
>> fann.c:718: error: 'RAND_MAX' undeclared (first use
in this function)
>> fann.c: In function 'fann_init_weights':
>> fann.c:807: error: 'RAND_MAX' undeclared (first use
in this function)
>> fann.c: In function 'fann_allocate_structure':
>> fann.c:897: warning: passing argument 1 of 'free'
from
>> incompatible pointer type
>> In file included from floatfann.c:27:
>> fann_train_data.c: In function
'fann_destroy_train':
>> fann_train_data.c:66: warning: passing argument 1
of 'free' from
>> incompatible pointer type
>> fann_train_data.c:67: warning: passing argument 1
of 'free' from
>> incompatible pointer type
>> fann_train_data.c:68: warning: passing argument 1
of 'free' from
>> incompatible pointer type
>> fann_train_data.c:69: warning: passing argument 1
of 'free' from
>> incompatible pointer type
>> fann_train_data.c:70: warning: passing argument 1
of 'free' from
>> incompatible pointer type
>> make[2]: *** [floatfann.lo] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all-recursive] Error 1
>> ### execution of make failed, exit code 2
>>
>> Any Ideas ?
>>
>>
>> Thanks Luigi
>>
>>
> It builds for me on a PowerPC.
>
> What do you get from running "gcc --version"
in a terminal window?
>
> --
> Alexander K. Hansen
> (akh)
> Fink Documenter
>
>
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
a>
|