|
From: Fabian K. <fk...@fa...> - 2011-04-16 12:55:22
|
Han Liu <kur...@gm...> wrote: > Does use static pcre code lead 'pcre_default_tables undeclared' error? Not necessarily. It works for me on FreeBSD with fresh sources from CVS and the internal pcre code hasn't been touched in years. > I have following errors when I build privoxy-3.0.12-stable: Why not a more recent release? > droid-gcc -c -pipe -O2 -I/home/kurtl/orbit_build_external/zlib/ > -pthread -Wall -Ipcre pcre/pcre.c -o pcre/pcre.o > arm-eabi-gcc: unrecognized option '-pthread' > pcre/pcre.c: In function 'pcre_compile': > pcre/pcre.c:2527: error: 'pcre_default_tables' undeclared (first use > in this function) > pcre/pcre.c:2527: error: (Each undeclared identifier is reported only once > pcre/pcre.c:2527: error: for each function it appears in.) > make: *** [pcre/pcre.o] Error 1 Do you get the same error if you do a "make clean" first? Can you post the whole make output? > I got a warning message related to pcre as below but the page from the > message is no longer exist: > > configure: WARNING: You are using the static PCRE code which is > scheduled for removal, for details see: > https://sourceforge.net/mailarchive/message.php?msg_id=20080511195555.2dc6cfdc%40fabiankeil.de Thanks for mentioning it. The message is still there, but apparently the clowns over at SF decided to break the URLs (again) to improve the user experience. The currently working URL seems to be: http://sourceforge.net/mailarchive/forum.php?thread_name=20080511195555.2dc6cfdc%40fabiankeil.de&forum_name=ijbswa-developers > These are commands I used to build: > > autoheader > autoconf > export ac_cv_func_setpgrp_void=yes > CC=droid-gcc LD=droid-ld > CPPFLAGS="-I/home/kurtl/orbit_build/external/zlib/" ./configure > --host=arm-none-linux-gnueabi Is there a reason why you can't also build with external pcre? Fabian |