root@localhost ~]# cd /home/wanghongwu/mp3
[root@localhost mp3]# make
arm-elf-gcc -I/usr/local/arm_tools/arm-elf/inc -Wl,-elf2flt -L/usr/local/arm_tools/lib/gcc-lib/arm-elf/3.0 -L/usr/local/arm_tools/arm-elf/lib main.c -o mp3 -lc -lgcc -lc
In file included from main.c:2:
global.h:30:43: warning: no newline at end of file
In file included from main.c:3:
decode.h:31:52: warning: no newline at end of file
main.c: In function `main':
main.c:174: warning: passing arg 4 of `out_fifo' from incompatible pointer type
main.c:12: warning: return type of `main' is not `int'
main.c:189:1: warning: no newline at end of file
/tmp/ccWlTSes.o: In function `main':
/tmp/ccWlTSes.o(.text+0x5c): the 'gets' function is dangerous and should not be used.
mp3.elf2flt: In function `main':
mp3.elf2flt(.text+0x214): undefined reference to `seek_sync'
mp3.elf2flt(.text+0x2a4): undefined reference to `decode_info'
mp3.elf2flt(.text+0x3a4): undefined reference to `getbits'
mp3.elf2flt(.text+0x400): undefined reference to `III_get_side_info'
mp3.elf2flt(.text+0x418): undefined reference to `main_data_slots'
mp3.elf2flt(.text+0x448): undefined reference to `getbits'
mp3.elf2flt(.text+0x450): undefined reference to `hputbuf'
mp3.elf2flt(.text+0x498): undefined reference to `hgetbits'
mp3.elf2flt(.text+0x4e8): undefined reference to `rewindNbytes'
mp3.elf2flt(.text+0x500): undefined reference to `main_data_slots'
mp3.elf2flt(.text+0x550): undefined reference to `hgetbits'
mp3.elf2flt(.text+0x5cc): undefined reference to `III_get_scale_factors'
mp3.elf2flt(.text+0x60c): undefined reference to `III_hufman_decode'
mp3.elf2flt(.text+0x6ac): undefined reference to `III_dequantize_sample'
mp3.elf2flt(.text+0x728): undefined reference to `III_stereo'
mp3.elf2flt(.text+0x754): undefined reference to `out_fifo'
mp3.elf2flt(.text+0x7e8): undefined reference to `III_reorder'
mp3.elf2flt(.text+0x848): undefined reference to `III_antialias'
mp3.elf2flt(.text+0x8c8): undefined reference to `III_hybrid'
mp3.elf2flt(.text+0xa30): undefined reference to `SubBandSynthesis'
mp3.elf2flt(.text+0xeac): undefined reference to `totbit_maindata'
mp3.elf2flt(.text+0xebc): undefined reference to `s_freq'
collect2: ld returned 1 exit status
make: *** [all] Error 1 |