[Dovecot] cross compile dovecot with openssl
hello everyone:
i can configue dovecot with the following:
./configure --build='i686-pc-linux-gnu' --host='arm-openwrt-linux' --with-ssl=openssl --with-storages=maildir i_cv_epoll_works=yes i_cv_inotify_works=yes i_cv_posix_fallocate_works=yes i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_signed_time_t=yes i_cv_mmap_plays_with_write=yes i_cv_fd_passing=yes i_cv_c99_vsnprintf=yes lib_cv_va_copy=yes lib_cv___va_copy=yes lib_cv_va_val_copy=yes CFLAGS="-gdwarf-2 -msoft-float" CFLAGS="-I/sdk-comcerto-openwrt-6.0/staging_dir/target-arm_glibc-2.7/usr/include" LDFLAGS="-L/sdk-comcerto-openwrt-6.0/staging_dir/target-arm_glibc-2.7/usr/lib"
And can compile && make the dovecot binary, but except the following warnings and errors:
configure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/ssl.h: proceeding with the compiler's result configure: WARNING: openssl/err.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/err.h: proceeding with the compiler's result configure: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: zlib.h: proceeding with the compiler's result ./configure: line 22927: /sdk-comcerto-openwrt-6.0/staging_dir/toolchain-arm_gcc-4.1.2_glibc-2.7/usr/bin/rpcgen: cannot execute binary file
Sorry about that i want to know why the warnings be happened and how to work out that.
Best regards.
participants (1)
-
kylixboy