View Single Post
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#20
When trying to compile the sources you provided here [1] on Debian Jessie/amd64 I get this:
Code:
$ gcc --version
gcc (Debian 4.9.1-19) 4.9.1
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gcc oscp.c 
oscp.c: In function ‘show_help’:
oscp.c:112:13: error: ‘BUILD’ undeclared (first use in this function)
 ", VERSION, BUILD, MD5, confname, progname);
             ^
oscp.c:112:13: note: each undeclared identifier is reported only once for each function it appears in
oscp.c:112:20: error: ‘MD5’ undeclared (first use in this function)
 ", VERSION, BUILD, MD5, confname, progname);
                    ^
oscp.c: In function ‘get_ch’:
oscp.c:1634:14: warning: overflow in implicit constant conversion [-Woverflow]
  } else ch = (chtype) ERR;
              ^
Am I doing something wrong (I'm not that familiar with ANSI C) or is there something missing (the archive contains no oscp.h for example)?


[1] http://talk.maemo.org/showpost.php?p...2&postcount=10
 

The Following User Says Thank You to sulu For This Useful Post: