Вот последний вывод команды make all:
Код: Выделить всё
hdlcstress.c: In function ‘send_packet’:
hdlcstress.c:115:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, buf, len + 2);
^
hdlcstress.c:142:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, outbuf, pos);
^
CCLD hdlcstress
CC hdlctest.o
CCLD hdlctest
CC hdlcgen.o
CCLD hdlcgen
CC hdlcverify.o
CCLD hdlcverify
CC dahdi_test.o
CCLD dahdi_test
CC dahdi_maint.o
CC version.o
CCLD dahdi_maint
CC dahdi_monitor.o
CCLD dahdi_monitor
CC dahdi_cfg.o
CCLD dahdi_cfg
./.libs/libtonezone.so: undefined reference to `sin'
./.libs/libtonezone.so: undefined reference to `cos'
./.libs/libtonezone.so: undefined reference to `pow'
collect2: error: ld returned 1 exit status
make[3]: *** [dahdi_cfg] Error 1
make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools'
make: *** [all] Error 2
В чем может быть проблема, что 2.10 собирается, а 2.11 нет?