Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "jon ewing" To: Subject: Re: Linking (?) problem with ccze Date: Fri, 14 Feb 2003 10:32:39 -0000 Message-ID: <000b01c2d414$66507ae0$152ca8c0@int.mediasurface.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Hi again, Sorry, should have probably added, I'm using pcre3.7 and gcc 3.2. I've included the entire output from the make process below: thanks jon. jon AT shuttle (.../tmp/ccze-0.1.190) % make make -C doc all make[1]: Entering directory `/home/jon/tmp/ccze-0.1.190/doc' sed -e "s,@VERSION\@,0.1.190,g" \ -e "s,@sysconfdir\@,/usr/local/etc,g" \ -e "s,@pkglibdir\@,/usr/local/lib/ccze,g" \ <./ccze.1.in >ccze.1T && mv -f ccze.1T ccze.1 sed -e "s,@VERSION\@,0.1.190,g" \ -e "s,@sysconfdir\@,/usr/local/etc,g" \ -e "s,@pkglibdir\@,/usr/local/lib/ccze,g" \ <./ccze-plugin.7.in >ccze-plugin.7T && mv -f ccze-plugin.7T ccze-plugin.7 sed -e "s,@VERSION\@,0.1.190,g" \ -e "s,@sysconfdir\@,/usr/local/etc,g" \ -e "s,@pkglibdir\@,/usr/local/lib/ccze,g" \ <./ccze-cssdump.1.in >ccze-cssdump.1T && mv -f ccze-cssdump.1T ccze-cssdump.1 make[1]: Leaving directory `/home/jon/tmp/ccze-0.1.190/doc' make -C src all make[1]: Entering directory `/home/jon/tmp/ccze-0.1.190/src' gcc -c -I. -I. -I.. -DPATCHLEVEL=\"190\" -DSYSCONFDIR=\"/usr/local/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/usr/local/lib/ccze\" -DHAVE_SYSTEM_H=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmulticharacter -Wmissing-noreturn -Wmissing-declarations -Wsequence-point -Wdiv-by-zero -W -Wunused -Wno-unused-parameter -Wno-unused-function -g -O2 ccze.c gcc -c -I. -I. -I.. -DPATCHLEVEL=\"190\" -DSYSCONFDIR=\"/usr/local/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/usr/local/lib/ccze\" -DHAVE_SYSTEM_H=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmulticharacter -Wmissing-noreturn -Wmissing-declarations -Wsequence-point -Wdiv-by-zero -W -Wunused -Wno-unused-parameter -Wno-unused-function -g -O2 ccze-color.c gcc -c -I. -I. -I.. -DPATCHLEVEL=\"190\" -DSYSCONFDIR=\"/usr/local/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/usr/local/lib/ccze\" -DHAVE_SYSTEM_H=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmulticharacter -Wmissing-noreturn -Wmissing-declarations -Wsequence-point -Wdiv-by-zero -W -Wunused -Wno-unused-parameter -Wno-unused-function -g -O2 ccze-plugin.c gcc -c -I. -I. -I.. -DPATCHLEVEL=\"190\" -DSYSCONFDIR=\"/usr/local/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/usr/local/lib/ccze\" -DHAVE_SYSTEM_H=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmulticharacter -Wmissing-noreturn -Wmissing-declarations -Wsequence-point -Wdiv-by-zero -W -Wunused -Wno-unused-parameter -Wno-unused-function -g -O2 ccze-wordcolor.c echo '#include ' >ccze-builtins.c echo '#include "ccze-private.h"' >>ccze-builtins.c echo >>ccze-builtins.c echo "void" >>ccze-builtins.c echo "ccze_plugin_load_all_builtins (void)" >>ccze-builtins.c echo "{" >>ccze-builtins.c echo "}" >>ccze-builtins.c gcc -c -I. -I. -I.. -DPATCHLEVEL=\"190\" -DSYSCONFDIR=\"/usr/local/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/usr/local/lib/ccze\" -DHAVE_SYSTEM_H=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmulticharacter -Wmissing-noreturn -Wmissing-declarations -Wsequence-point -Wdiv-by-zero -W -Wunused -Wno-unused-parameter -Wno-unused-function -g -O2 ccze-builtins.c gcc -c -I. -I. -I.. -DPATCHLEVEL=\"190\" -DSYSCONFDIR=\"/usr/local/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/usr/local/lib/ccze\" -DHAVE_SYSTEM_H=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmulticharacter -Wmissing-noreturn -Wmissing-declarations -Wsequence-point -Wdiv-by-zero -W -Wunused -Wno-unused-parameter -Wno-unused-function -g -O2 ccze-compat.c gcc -rdynamic -I. -I. -I.. -DPATCHLEVEL=\"190\" -DSYSCONFDIR=\"/usr/local/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/usr/local/lib/ccze\" -DHAVE_SYSTEM_H=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmulticharacter -Wmissing-noreturn -Wmissing-declarations -Wsequence-point -Wdiv-by-zero -W -Wunused -Wno-unused-parameter -Wno-unused-function -g -O2 -o ccze ccze.o ccze-color.o ccze-plugin.o ccze-wordcolor.o ccze-builtins.o ccze-compat.o -L/usr/lib -lpcre -lncurses gcc: unrecognized option `-rdynamic' Info: resolving _stdscr by linking to __imp__stdscr (auto-import) gcc -fPIC -DPIC -I. -I. -I.. -DPATCHLEVEL=\"190\" -DSYSCONFDIR=\"/usr/local/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/usr/local/lib/ccze\" -DHAVE_SYSTEM_H=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmulticharacter -Wmissing-noreturn -Wmissing-declarations -Wsequence-point -Wdiv-by-zero -W -Wunused -Wno-unused-parameter -Wno-unused-function -g -O2 -L/usr/lib -lpcre -lncurses -o apm.so mod_apm.c -shared cc1: warning: -fPIC ignored for target (all code is position independent) /mnt/windows/TEMP/ccofoCw7.o(.text+0x4d): In function `ccze_apm_process': /home/jon/tmp/ccze-0.1.190/src/mod_apm.c:37: undefined reference to `_pcre_get_substring' /mnt/windows/TEMP/ccofoCw7.o(.text+0x6c):/home/jon/tmp/ccze-0.1.190/src/ mod_apm.c:38: undefined reference to `_pcre_get_substring' /mnt/windows/TEMP/ccofoCw7.o(.text+0x8b):/home/jon/tmp/ccze-0.1.190/src/ mod_apm.c:39: undefined reference to `_pcre_get_substring' /mnt/windows/TEMP/ccofoCw7.o(.text+0xaa):/home/jon/tmp/ccze-0.1.190/src/ mod_apm.c:40: undefined reference to `_pcre_get_substring' /mnt/windows/TEMP/ccofoCw7.o(.text+0xc9):/home/jon/tmp/ccze-0.1.190/src/ mod_apm.c:41: undefined reference to `_pcre_get_substring' /mnt/windows/TEMP/ccofoCw7.o(.text+0xe8):/home/jon/tmp/ccze-0.1.190/src/ mod_apm.c:42: more undefined references to `_pcre_get_substring' follow /mnt/windows/TEMP/ccofoCw7.o(.text+0x11b): In function `ccze_apm_process': /home/jon/tmp/ccze-0.1.190/src/mod_apm.c:45: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x120):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:46: undefined reference to `_ccze_space' /mnt/windows/TEMP/ccofoCw7.o(.text+0x133):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:47: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x147):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:48: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x14c):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:49: undefined reference to `_ccze_space' /mnt/windows/TEMP/ccofoCw7.o(.text+0x15f):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:50: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x164):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:51: undefined reference to `_ccze_space' /mnt/windows/TEMP/ccofoCw7.o(.text+0x178):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:52: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x18b):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:53: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x19f):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:54: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x1a4):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:55: undefined reference to `_ccze_space' /mnt/windows/TEMP/ccofoCw7.o(.text+0x1b7):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:56: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x1bc):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:57: undefined reference to `_ccze_space' /mnt/windows/TEMP/ccofoCw7.o(.text+0x1cf):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:58: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x1e3):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:59: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x1e8):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:60: undefined reference to `_ccze_space' /mnt/windows/TEMP/ccofoCw7.o(.text+0x1fb):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:61: undefined reference to `_ccze_addstr' /mnt/windows/TEMP/ccofoCw7.o(.text+0x200):/home/jon/tmp/ccze-0.1.190/src /mod_apm.c:62: undefined reference to `_ccze_space' /mnt/windows/TEMP/ccofoCw7.o(.text+0x2ec): In function `ccze_apm_setup': /home/jon/tmp/ccze-0.1.190/src/mod_apm.c:78: undefined reference to `_pcre_compile' /mnt/windows/TEMP/ccofoCw7.o(.text+0x376): In function `ccze_apm_handle': /home/jon/tmp/ccze-0.1.190/src/mod_apm.c:90: undefined reference to `_pcre_exec' collect2: ld returned 1 exit status make[1]: *** [apm.so] Error 1 make[1]: Leaving directory `/home/jon/tmp/ccze-0.1.190/src' make: *** [all-recursive] Error 2 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/