All pastes #907250 Raw Edit

Someone

public text v1 · immutable
·published 2008-02-17 12:37 UTC
rendered paste body
[xenius@localhost bfcd]$ gcc 2inverter.cpp -o inverter -Wall
2inverter.cpp: In function ‘int main(int, char**)’:
2inverter.cpp:43: предупреждение: format ‘%I64d’ expects type ‘int’, but argument 2 has type ‘sf_count_t’
2inverter.cpp:44: предупреждение: format ‘%I64d’ expects type ‘int’, but argument 2 has type ‘long long int’
2inverter.cpp:64: предупреждение: format ‘%I64d’ expects type ‘int’, but argument 2 has type ‘sf_count_t’
/home/xenius/tmp/ccmre1eu.o: In function `main':
2inverter.cpp:(.text+0x163): undefined reference to `sf_open'
2inverter.cpp:(.text+0x26e): undefined reference to `src_is_valid_ratio'
2inverter.cpp:(.text+0x28e): undefined reference to `sf_close'
2inverter.cpp:(.text+0x2d2): undefined reference to `operator new[](unsigned int)'
2inverter.cpp:(.text+0x32b): undefined reference to `sf_readf_float'
2inverter.cpp:(.text+0x376): undefined reference to `sf_close'
2inverter.cpp:(.text+0x434): undefined reference to `operator new[](unsigned int)'
2inverter.cpp:(.text+0x4ae): undefined reference to `src_simple'
2inverter.cpp:(.text+0x54b): undefined reference to `src_simple'
2inverter.cpp:(.text+0x5ab): undefined reference to `sin'
2inverter.cpp:(.text+0x74e): undefined reference to `src_simple'
2inverter.cpp:(.text+0x7eb): undefined reference to `src_simple'
2inverter.cpp:(.text+0x81c): undefined reference to `operator delete[](void*)'
2inverter.cpp:(.text+0x873): undefined reference to `sf_open'
2inverter.cpp:(.text+0x8b8): undefined reference to `sf_close'
2inverter.cpp:(.text+0x8f5): undefined reference to `sf_writef_float'
2inverter.cpp:(.text+0x900): undefined reference to `sf_close'
2inverter.cpp:(.text+0x91d): undefined reference to `operator delete[](void*)'
/home/xenius/tmp/ccmre1eu.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: выполнение ld завершилось с кодом возврата 1