Joined: 21 Jan 2008
|Posted: Mon Jan 21, 2008 9:22 am Post subject: Problems compiling under Debian
|When I try to compile the source under Debian I'm getting this warning in main.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c main.c
main.c: In function 'main':
main.c:205: warning: comparison is always true due to limited range of data type
Which corresponds to the line
while ((c = getopt(argc, argv, "e: h r: t: v")) != EOF)
The program will run without problem as long as you don't pass any command line variables to it. If you do you get an endless stream of
Unknown option '<y char with two dots over it>', meaning its probably reading well past EOF when launching.
I've apt-get installed pretty much every program or library I can think of that would be needed by Debian to compile tt++, but no effect yet. Can anyone suggest a prog or library that if missing might cause this problem?
Also, when I launch the precompiled Linux binary I get:
-bash: ./tt++: cannot execute binary file
This isn't so critical if I can compile my own.