Re: [Fink-users] copiling fann on a macbook

2007-03-28 Thread Luigi Rensinghoff

Am 28.03.2007 um 05:26 schrieb Jean-François Mertens:



 On 28 Mar 2007, at 05:20, Luigi Rensinghoff wrote:

 .. /usr/local/include/stdlib.h


 That must be the culprit !

 JF


Ok , so this thing is to blame, but what do we do with him ?

Do i have to remove it, or reinstall a fink-package ?

Thanks

Luigi


-
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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] copiling fann on a macbook

2007-03-28 Thread David R. Morrison

On Mar 28, 2007, at 4:47 AM, Luigi Rensinghoff wrote:


 Am 28.03.2007 um 05:26 schrieb Jean-François Mertens:



 On 28 Mar 2007, at 05:20, Luigi Rensinghoff wrote:

 .. /usr/local/include/stdlib.h


 That must be the culprit !

 JF


 Ok , so this thing is to blame, but what do we do with him ?

 Do i have to remove it, or reinstall a fink-package ?

 Thanks

 Luigi

In general, things in /usr/local can interfere with fink compiles in  
unpredictable ways.  You might have compiled something yourself  
outside of fink which installed this file there, or you might have  
installed some other software which put something into /usr/local  
without you even knowing it.  Fink does not use /usr/local.

If you know where this file came from, and know that it is safe to  
remove it, then do so.  Otherwise, you can follow the steps
   mv /usr/local /usr/local.bak
   fink build foo
   mv /usr/local.bak /usr/local
any time you want to build something with fink.

   -- Dave



-
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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] copiling fann on a macbook

2007-03-28 Thread Alexander Hansen
Luigi Rensinghoff wrote:
 Am 28.03.2007 um 05:26 schrieb Jean-François Mertens:

   
 On 28 Mar 2007, at 05:20, Luigi Rensinghoff wrote:

 
 .. /usr/local/include/stdlib.h
   
 That must be the culprit !

 JF

 

 Ok , so this thing is to blame, but what do we do with him ?

 Do i have to remove it, or reinstall a fink-package ?

 Thanks

 Luigi


   
That didn't come from any Fink package.

It's usually a good idea to move all of /usr/local while building stuff 
with Fink:

http://www.finkproject.org/faq/comp-general.php#usr-local-libs

It just needs to be renamed temporarily--you can put it back once you're 
done compiling.

-- 
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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] copiling fann on a macbook

2007-03-27 Thread Luigi Rensinghoff
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



-
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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] copiling fann on a macbook

2007-03-27 Thread 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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] copiling fann on a macbook

2007-03-27 Thread Luigi Rensinghoff
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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] copiling fann on a macbook

2007-03-27 Thread Alexander Hansen
Luigi Rensinghoff wrote:
 i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build  
 5367)



 Thanks for the quick reply


   

OK, I've got the same version of gcc (and presumably at least a similar 
version of the Xcode Tools).   So it could be a missing dependency or 
something Intel-specific.  I don't have an Intel box to verify, 
unfortunately.

 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


 

   


-- 
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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] copiling fann on a macbook

2007-03-27 Thread Jean-François Mertens
just built it on macintel...
clearly not a missing dep (at least at this stage -) :
when running the same command with '-H' no headers
from %p show up ..

There is an (unconditional)
#include stdlib.h
in the beginning of fann.c...
(and the define of RAND_MAX in stdlib.h seems unconditional too...)

The only 'local' includes follow it _ and are
#include config.h
#include fann.h
#include fann_errno.h

puzzled..

Luigi :

could you cd to the dir 'src' in the builddir and show us the output  
of (all on 1 line ...) :

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 -H

JF Mertens

-
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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] copiling fann on a macbook

2007-03-27 Thread Jean-François Mertens

On 28 Mar 2007, at 05:01, Jean-François Mertens wrote:

 just built it on macintel...
 clearly not a missing dep (at least at this stage -) :
 when running the same command with '-H' no headers
 from %p show up ..
and all includes before stdlib.h are from /usr or from the builddir,
and don't include config.h. ...
?
JF
-
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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] copiling fann on a macbook

2007-03-27 Thread Luigi Rensinghoff
quite active this list ;-)

i am surprised




Am 28.03.2007 um 05:01 schrieb Jean-François Mertens:


there it is

/sw/src/fink.build/fann-1.2.0-2/fann-1.2.0/src root# 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 -H
. ../src/include/floatfann.h
.. ../src/include/fann.h
... ../src/include/compat_time.h
 /usr/include/sys/time.h
. /usr/include/sys/cdefs.h
. /usr/include/sys/_types.h
.. /usr/include/machine/_types.h
... /usr/include/i386/_types.h
. /usr/include/time.h
.. /usr/include/_types.h
.. /usr/include/machine/_limits.h
... /usr/include/i386/_limits.h
... ../src/include/fann_data.h
 /usr/local/include/stdio.h
... ../src/include/fann_internal.h
 /usr/include/math.h
. /usr/include/architecture/i386/math.h
 ../src/include/fann_data.h
... ../src/include/fann_activation.h
. fann.c
.. /usr/local/include/stdlib.h
... /sw/include/tcl.h
 /usr/local/include/stdarg.h
. /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/stdarg.h
 /sw/include/tclDecls.h
 /sw/include/tclPlatDecls.h
.. /usr/local/include/stdarg.h
.. /usr/include/string.h
.. ../src/include/config.h
.. ../src/include/fann.h
... ../src/include/compat_time.h
... ../src/include/fann_data.h
... ../src/include/fann_internal.h
... ../src/include/fann_activation.h
.. ../src/include/fann_errno.h
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
. fann_io.c
.. /usr/local/include/stdarg.h
.. ../src/include/config.h
.. ../src/include/fann.h
... ../src/include/compat_time.h
... ../src/include/fann_data.h
... ../src/include/fann_internal.h
... ../src/include/fann_activation.h
. fann_train.c
.. /usr/local/include/stdarg.h
.. ../src/include/config.h
.. ../src/include/fann.h
... ../src/include/compat_time.h
... ../src/include/fann_data.h
... ../src/include/fann_internal.h
... ../src/include/fann_activation.h
. fann_train_data.c
.. /usr/local/include/stdarg.h
.. ../src/include/config.h
.. ../src/include/fann.h
... ../src/include/compat_time.h
... ../src/include/fann_data.h
... ../src/include/fann_internal.h
... ../src/include/fann_activation.h
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
. fann_options.c
.. /usr/local/include/stdarg.h
.. ../src/include/config.h
.. ../src/include/fann.h
... ../src/include/compat_time.h
... ../src/include/fann_data.h
... ../src/include/fann_internal.h
... ../src/include/fann_activation.h
. fann_error.c
.. /usr/local/include/stdarg.h
.. ../src/include/config.h
.. ../src/include/fann.h
... ../src/include/compat_time.h
... ../src/include/fann_data.h
... 

Re: [Fink-users] copiling fann on a macbook

2007-03-27 Thread Luigi Rensinghoff


Am 28.03.2007 um 05:14 schrieb Jean-François Mertens:



On 28 Mar 2007, at 05:01, Jean-François Mertens wrote:


just built it on macintel...
clearly not a missing dep (at least at this stage -) :
when running the same command with '-H' no headers
from %p show up ..

and all includes before stdlib.h are from /usr or from the builddir,
and don't include config.h. ...
?
JF



sorry...i dont know what you mean with that

luigi-
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.phpp=sourceforgeCID=DEVDEV___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] copiling fann on a macbook

2007-03-27 Thread Jean-François Mertens


On 28 Mar 2007, at 05:20, Luigi Rensinghoff wrote:

 .. /usr/local/include/stdlib.h


That must be the culprit !

JF

-
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.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users