Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello, I am getting some errors when I try to install a program and I am not
sure what is happening as I am rather new to linux. I use the command
'make'and get alot of output and then this:
--------------------
gcc -I../.. -I../../kernel/sources -g -O -c symtab.csymtab.c: In function 'st_init':
symtab.c:260: 'MAXFLOAT' undeclared (first use in this function)
symtab.c:260:(each undeclared identifier is reported only once for each
function it appears in.)make[1]: *** symtab.o Error 1
make[1]: Leaving directory '/root/SNNSv4.2/tools/sources'
make: *** [compile-tools] Error 2
------------------
Now someone correct me if I am wrong about this. Here is what I think is
happening. I am guessing that when I run the 'make' command that this causes a
bunch of files to compile just like you would need to in windows. So that
would mean that the 'gcc .... symtab.c' line at the top is where the 'GNU c
compiler' is trying to compile the symtab.c file. It, however, found an error
in this file in the st_init() function that caused it to stop compiling (the
error being an instance of an undeclared variable called MAXFLOAT)? Is this
correct, and how do I fix such a problem? I can't seem to find the file
symtab.c or many of the other files that compile before it without probelmbs.
Where are those files (I looked in ../kernel/sources)?

Ok, so I found the file I think (there was another version of the file in /root/bison-1.34/src/sources/symtab.c but I think the one I want is in /root/SNNSv4.2/tools/source/symtab.c). And it apears to make a refference to the variable MAXFLOAT without declaring an instance of that variable (which is a variable defined in ). It does not say anything in symtab.c about what the value of MAXFLOAT should be or what it is used for so I do not have a clue where to go from here. Any ideas?

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |