About cross-compile konqueror-e

root zl at mpfree.org
Thu Dec 9 03:31:46 CET 2004


Hi:
	When I cross-compile kon-e 20030705 using qte-2.3.8-arm. configure
as following:
	./configure --host=arm-linux --enable-qt-embedded
	--with-extra-includes=/usr/local/arm/arm-linux/sys-include/linux
	--with-extra-libs=/usr/local/qte-2.3.8-x86/src/3rdparty/zlib
	
	And I encounter a error, the information as following:
	checking for libz... configure: error: not found. Check your
	installation 	and look into config.log
	
	And related information in config.log as following:
configure:21484: checking for extra libs
configure:21513: result: added
configure:21519: checking for libz
configure:21554: arm-linux-gcc -o conftest -ansi -W -Wall -pedantic
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    
-I/usr/local/arm/arm-linux/sys-include/linux -DQWS -D_REENTRANT 
conftest.c   -L/usr/local/qte-2.3.8-x86/src/3rdparty/zlib -lz  >&5
configure: In function `main':
configure:21579: warning: implicit declaration of function `zlibVersion'
configure:21579: warning: comparison between pointer and integer
/usr/local/arm/bin/../lib/gcc-lib/arm-linux/3.2/../../../../arm-linux/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
configure:21557: $? = 1
configure: failed program was:
| #line 21535 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "konqueror-embedded"
| #define VERSION "0.2"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_TEMPLATE_REPOSITORY 1
#define KDELIBSUFF ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_CRYPT 1
| #define ksize_t socklen_t
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_RES_INIT 1
| #define HAVE_RES_INIT_PROTO 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_CHAR_P 4
| #define SIZEOF_CHAR 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| /* end confdefs.h.  */
| #include<zlib.h>
|
| int
| main ()
| {
| return (zlibVersion() == ZLIB_VERSION);
|   ;
|   return 0;
| }
configure:21588: error: not found. Check your installation and look into
config.log                                                                                       




More information about the konq-e mailing list