Re: pcre build problems
| From: | Chris Malton | Date: | Tue, 20 Feb 2007 20:49:00 +0000 |
| Subject: | Re: pcre build problems | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28100@lists.php.net to get a copy of this message | ||
Oops, No
I'm not used to building php from CVS.
I'll create a shell script that calls the following in the right order
for me:
cvs update
./cvsclean
./configure --my-options
make
make test
Then we'll see what happens!
Rebuilding with ./cvsclean run!
Chris
Hannes Magnusson wrote:
> Did you "./cvsclean" prior to building?
>
> -Hannes
>
> On 2/20/07, Chris Malton <chrism@cjsoftuk.dyndns.org> wrote:
>> Hello,
>> In current CVS (check out about 30 mins ago) there is an error
>> with
>> pcre. When linking PHP, there is an error with unresolved external
>> symbols. Here is the error log:
>>
>> ext/pcre/pcrelib/pcre_compile.o: In function `check_auto_possessive':
>> /root/php6/ext/pcre/pcrelib/pcre_compile.c:1795: undefined reference to
>> `_pcre_is_newline'
>> /root/php6/ext/pcre/pcrelib/pcre_compile.c:1832: undefined reference to
>> `_pcre_is_newline'
>> ext/pcre/pcrelib/pcre_compile.o: In function `compile_branch':
>> /root/php6/ext/pcre/pcrelib/pcre_compile.c:2209: undefined reference to
>> `_pcre_is_newline'
>> ext/pcre/pcrelib/pcre_exec.o: In function `match':
>> /root/php6/ext/pcre/pcrelib/pcre_exec.c:1209: undefined reference to
>> `_pcre_was_newline'
>> /root/php6/ext/pcre/pcrelib/pcre_exec.c:1268: undefined reference to
>> `_pcre_is_newline'
>> /root/php6/ext/pcre/pcrelib/pcre_exec.c:2722: undefined reference to
>> `_pcre_is_newline'
>> /root/php6/ext/pcre/pcrelib/pcre_exec.c:1238: undefined reference to
>> `_pcre_is_newline'
>> /root/php6/ext/pcre/pcrelib/pcre_exec.c:1325: undefined reference to
>> `_pcre_is_newline'
>> /root/php6/ext/pcre/pcrelib/pcre_exec.c:2834: undefined reference to
>> `_pcre_is_newline'
>> ext/pcre/pcrelib/pcre_exec.o:/root/php6/ext/pcre/pcrelib/pcre_exec.c:3027:
>>
>> more undefined references to `_pcre_is_newline' follow
>> ext/pcre/pcrelib/pcre_exec.o: In function `php_pcre_exec':
>> /root/php6/ext/pcre/pcrelib/pcre_exec.c:3993: undefined reference to
>> `_pcre_was_newline'
>> collect2: ld returned 1 exit status
>> make: *** [sapi/cgi/php] Error 1
>>
>> Build platform: Ubuntu Server x64 6.10
>>
>> Chris
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>