Hi to all!
I'am trying build openwrt prj but when i start MAKE command sometimes i got some errors(can't download some packages) then i download it by browser and place it to [buildroot]/dl then start MAKE again. Today i download rtklib-2.4.2_p9-5592bb575ceb27f2ce0f0f5a84eda38497006c15.tar.gz then start MAKE again and receive next errors:
make[4]: Entering directory `/home/bubleek/openwrt/build_dir/target-mipsel_mips32r2_musl-1.1.10/rtklib-2.4.2_p9/app/rtkrcv/gcc'
mipsel-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -g3 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c -Wall -O3 -ansi -pedantic -Wno-unused-but-set-variable -I../../../src -DTRACE -DENAGLO -DENAGAL -DENAQZS -DNFREQ=3 -g ../../../src/stream.c
../../../src/stream.c: In function 'openserial':
../../../src/stream.c:378:38: error: 'CRTSCTS' undeclared (first use in this function)
ios.c_cflag|=!strcmp(fctr,"rts")?CRTSCTS:0;
^
../../../src/stream.c:378:38: note: each undeclared identifier is reported only once for each function it appears in
../../../src/stream.c: In function 'gentcp':
../../../src/stream.c:912:9: warning: implicit declaration of function 'gethostbyname' [-Wimplicit-function-declaration]
if (!(hp=gethostbyname(tcp->saddr))) {
^
../../../src/stream.c:912:17: warning: assignment makes pointer from integer without a cast [enabled by default]
if (!(hp=gethostbyname(tcp->saddr))) {
^
make[4]: *** [stream.o] Error 1
make[4]: Leaving directory `/home/bubleek/openwrt/build_dir/target-mipsel_mips32r2_musl-1.1.10/rtklib-2.4.2_p9/app/rtkrcv/gcc'
make[3]: *** [/home/bubleek/openwrt/build_dir/target-mipsel_mips32r2_musl-1.1.10/rtklib-2.4.2_p9/.built] Error 2
make[3]: Leaving directory `/home/bubleek/openwrt/feeds/packages/utils/rtklib'
make[2]: *** [package/feeds/packages/rtklib/compile] Error 2
make[2]: Leaving directory `/home/bubleek/openwrt'
make[1]: *** [/home/bubleek/openwrt/staging_dir/target-mipsel_mips32r2_musl-1.1.10/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/bubleek/openwrt'
make: *** [world] Ошибка 2
I don't understand what happen? Somebody tell me what i should doing now?