[OpenWrt-Devel] Postfix on OpenWRT

Grzegorz Sójka pld at sojka.co
Tue Sep 30 11:18:06 EDT 2014


On 09/29/14 00:04, W. Michael Petullo wrote:
>> Wow! I'm happy that someone new joined the party. Toes it mean that binary
>> packages for Barrier Breaker are going to be available? I'm asking because
>> during the compilation I get the following error:
>>
>> /mnt/trash/barrier_breaker-14.07-rc3/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld:
>> skipping incompatible /usr/lib64/libc.so when searching for -lc
>> collect2: error: ld returned 1 exit status
>> Makefile:50: recipe for target 'master' failed
>
> Postfix compiles fine on my build host (Fedora 20), but actually creating
I chroot-installed Fedora20 x86_64. Unfortunately during the compilation 
I get the following error:

make: Entering directory 
`/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/postfix-2.10.2/src/master'
ccache_cc 
-I/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/ 
-DNO_EPOLL -DNO_SIGSETJMP -DHAS_CDB -DNO_NIS 
-I/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/tinycdb-0.77/ 
-g -O -I. -I../../include -DLINUX3 -o master master.o master_conf.o 
master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o 
master_status.o master_listen.o master_vars.o master_wakeup.o 
master_watch.o master_flow.o master_monitor.o ../../lib/libglobal.a 
../../lib/libutil.a 
-L/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib 
/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/tinycdb-0.77/libcdb.a 
-lpcre -lnsl -lresolv
/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: 
cannot find -lpcre
collect2: error: ld returned 1 exit status

Any ideas??

-- 
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list