View Single Post
Old 2006-08-27, 14:46   #1
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23·32·72 Posts
Default compiling decomp under linux

I'd like to get the decomp program running on my linux server (RedHat9, 2.4.20), but I'll show off my C ignorance here and ask for help getting it to compile... this is what I get:
Code:
# gcc DECOMP.C
DECOMP.C: In function `int isprime(long unsigned int)':
DECOMP.C:24: warning: assignment to `long unsigned int' from `double'
DECOMP.C:24: warning: argument to `long unsigned int' from `double'
DECOMP.C: In function `void decompress_factors(char*)':
DECOMP.C:219: `isdigit' undeclared (first use this function)
DECOMP.C:219: (Each undeclared identifier is reported only once for each
   function it appears in.)
DECOMP.C:227: `atoi' undeclared (first use this function)
DECOMP.C: At global scope:
DECOMP.C:369: `main' must return `int'
What do I do?
James Heinrich is offline   Reply With Quote