[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SNNS and Debian



Anyone have SNNS working with Debian?  I can't get it to compile.

First I had to manually define MAXFLOAT, which I think should have been 
defined in /usr/include/math.h.    Then it fails with the following error.  

make[1]: Entering directory `/home/budr/src/snns-4.2/xgui/sources'
gcc  -I../.. -I../../kernel/sources -I../../xgui/iconsXgui 
-I/usr/X11R6/include
  -g -O  -c ui_confirmer.c
In file included from /usr/include/string.h:360,
                 from /usr/X11R6/include/X11/Intrinsic.h:61,
                 from ui.h:30,
                 from ui_confirmer.c:23:
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:404: warning: empty declaration
/usr/include/bits/string2.h:422: parse error before `='
/usr/include/bits/string2.h:425: parse error before `='
/usr/include/bits/string2.h:430: parse error before `='
/usr/include/bits/string2.h:435: parse error before `='
/usr/include/bits/string2.h:442: parse error before `='
/usr/include/bits/string2.h:444: parse error before `='
make[1]: *** [ui_confirmer.o] Error 1

I suspect if I find a kludge for this one something else will fail with an 
error pointing back to /usr/include.  I have similar problems with billnet, 
another neural net package.  It all makes me wonder if I'm missing a package 
that would have all the right defines for this type of application.


-- 
Bud Rogers <budr@sirinet.net>   http://www.sirinet.net/~budr
All things in moderation.  And not too much moderation either.



Reply to: