[Anjuta-list] no executable is built



Hi,
may anyone help me to understand why I can't build an executable c-file?

Output messages
/*********************************************************************/
Genero il file: ver2004.c ...
gcc    -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -
Wuninitialized -Wparentheses -Wtraditional -Wpointer-arith -Wmissing-
prototypes   -g  "ver2004.c"     -o "ver2004"
cc1: warning: -Wuninitialized is not supported without -O
ver2004.c:2205: warning: return type defaults to `int'
ver2004.c: In function `main':
ver2004.c:2340: warning: implicit declaration of function `exit'
ver2004.c:2373: warning: suggest parentheses around comparison in
operand of &
ver2004.c:2210: warning: unused variable `i'
ver2004.c:2214: warning: unused variable `temp_b'
ver2004.c:2226: warning: unused variable `c'
ver2004.c:2412: warning: control reaches end of non-void function
ver2004.c: In function `Frame_Sync':
ver2004.c:2450: warning: traditional C rejects ISO C style function
definitions
ver2004.c:2533: warning: control reaches end of non-void function
ver2004.c: In function `Find_sync':
ver2004.c:2545: warning: traditional C rejects ISO C style function
definitions
ver2004.c: At top level:
ver2004.c:2596: warning: no previous prototype for 'Decode_frame'
ver2004.c: In function `Decode_frame':
ver2004.c:2597: warning: unused variable `c'
ver2004.c: At top level:
ver2004.c:2893: warning: no previous prototype for 'Store_frame'
ver2004.c:2993: warning: no previous prototype for 'PrintOut'
ver2004.c:3230: warning: no previous prototype for 'Decode_aux_data'
ver2004.c:3651: warning: no previous prototype for 'Decode_ephem'
ver2004.c: In function `Decode_ephem':
ver2004.c:3652: warning: unused variable `j'
ver2004.c:3653: warning: unused variable `m'
ver2004.c:3654: warning: unused variable `c'
ver2004.c:3654: warning: unused variable `temp'
ver2004.c: In function `revbit_char':
ver2004.c:3781: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `revbytes_short':
ver2004.c:3804: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `revbytes_long':
ver2004.c:3813: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `align_char':
ver2004.c:3836: warning: traditional C rejects ISO C style function
definitions
ver2004.c:3841: warning: passing arg 1 of `pow' as floating rather than
integer due to prototype
ver2004.c:3841: warning: passing arg 2 of `pow' as floating rather than
integer due to prototype
ver2004.c: In function `align_short':
ver2004.c:3850: warning: traditional C rejects ISO C style function
definitions
ver2004.c:3855: warning: passing arg 1 of `pow' as floating rather than
integer due to prototype
ver2004.c:3855: warning: passing arg 2 of `pow' as floating rather than
integer due to prototype
ver2004.c: In function `align_long':
ver2004.c:3866: warning: traditional C rejects ISO C style function
definitions
ver2004.c:3871: warning: passing arg 1 of `pow' as floating rather than
integer due to prototype
ver2004.c:3871: warning: passing arg 2 of `pow' as floating rather than
integer due to prototype
ver2004.c:3876: warning: passing arg 1 of `pow' as floating rather than
integer due to prototype
ver2004.c:3876: warning: passing arg 2 of `pow' as floating rather than
integer due to prototype
ver2004.c: In function `GenPRN':
ver2004.c:3891: warning: traditional C rejects ISO C style function
definitions
ver2004.c:3897: warning: unused variable `encode'
ver2004.c:3897: warning: unused variable `decode'
ver2004.c: In function `decode':
ver2004.c:3931: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `bin2temp':
ver2004.c:3946: warning: traditional C rejects ISO C style function
definitions
ver2004.c:3950: warning: passing arg 2 of `pow' as floating rather than
integer due to prototype
ver2004.c: In function `comp2short':
ver2004.c:3964: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `comp2long':
ver2004.c:3973: warning: traditional C rejects ISO C style function
definitions
ver2004.c:3975: warning: integer constant is too large for "long" type
ver2004.c: In function `fcs_calc':
ver2004.c:3987: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `swap':
ver2004.c:4014: warning: traditional C rejects ISO C style function
definitions
ver2004.c: At top level:
ver2004.c:4025: warning: no previous prototype for 'Store_ephem'
ver2004.c: In function `swapmem':
ver2004.c:4055: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `convert_double8':
ver2004.c:4063: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `convert_long4':
ver2004.c:4070: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `convert_short2':
ver2004.c:4077: warning: traditional C rejects ISO C style function
definitions
ver2004.c: In function `itoa':
ver2004.c:4084: warning: traditional C rejects ISO C style function
definitions
ver2004.c: At top level:
ver2004.c:4115: warning: no previous prototype for 'GenCeosRaw'
ver2004.c:4180: warning: no previous prototype for 'PrintCEOS'
/tmp/cc3pVzs6.o(.text+0x4242): In function `align_char':
/home/adelef/Desktop/radarsat/ProgettoSAR/CCDS2CEOS/ReadData/ver2004.c:3841: undefined reference to `pow'
/tmp/cc3pVzs6.o(.text+0x4308): In function `align_short':
/home/adelef/Desktop/radarsat/ProgettoSAR/CCDS2CEOS/ReadData/ver2004.c:3855: undefined reference to `pow'
/tmp/cc3pVzs6.o(.text+0x43cd): In function `align_long':
/home/adelef/Desktop/radarsat/ProgettoSAR/CCDS2CEOS/ReadData/ver2004.c:3871: undefined reference to `pow'
/tmp/cc3pVzs6.o(.text
+0x4431):/home/adelef/Desktop/radarsat/ProgettoSAR/CCDS2CEOS/ReadData/ver2004.c:3876: undefined reference to `pow'
/tmp/cc3pVzs6.o(.text+0x46a1): In function `bin2temp':
/home/adelef/Desktop/radarsat/ProgettoSAR/CCDS2CEOS/ReadData/ver2004.c:3950: undefined reference to `log'
/tmp/cc3pVzs6.o(.text
+0x46d2):/home/adelef/Desktop/radarsat/ProgettoSAR/CCDS2CEOS/ReadData/ver2004.c:3950: undefined reference to `log10'
/tmp/cc3pVzs6.o(.text
+0x46e1):/home/adelef/Desktop/radarsat/ProgettoSAR/CCDS2CEOS/ReadData/ver2004.c:3950: undefined reference to `pow'
collect2: ld returned 1 exit status
Completed ... unsuccessful
Total time taken: 1 secs

/*****************************************************************************************/


I already tried to set libraries path, where <math.h> library is; 

P.S. I have installed Fedora Core 3

Thanks a lot 

adele






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