home bobry Projects temp -Wall -I usr include libmpd-1 -o mpd mpd cpp

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
/home/bobry/Projects/C.temp $ g++ -Wall -I/usr/include/libmpd-1.0/ -o mpd mpd.cpp
mpd.cpp: In function ‘int main(int, char**)’:
mpd.cpp:36: предупреждение: deprecated conversion from string constant to ‘char*’
/tmp/ccsJ1r7m.o: In function `main':
mpd.cpp:(.text+0x90): undefined reference to `mpd_new'
mpd.cpp:(.text+0xb1): undefined reference to `mpd_signal_connect_error'
mpd.cpp:(.text+0xce): undefined reference to `mpd_signal_connect_status_changed'
mpd.cpp:(.text+0xe3): undefined reference to `mpd_set_connection_timeout'
mpd.cpp:(.text+0xef): undefined reference to `mpd_free'
collect2: выполнение ld завершилось с кодом возврата 1