# pcre build problems

- Thread: https://externals.io/message/28097
- Original archive: https://news-web.php.net/php.internals/28097
- Started by Chris Malton on 2007-02-20T20:39:08+00:00
- Messages: 8
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #28097 — Chris Malton — 2007-02-20T20:39:08+00:00

URL: https://externals.io/message/28097#28097

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

---

## #28099 — Hannes Magnusson — 2007-02-20T20:45:29+00:00

URL: https://externals.io/message/28097#28099 · In reply to: #28097

Did you "./cvsclean" prior to building?

-Hannes


> 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

---

## #28100 — Chris Malton — 2007-02-20T20:49:00+00:00

URL: https://externals.io/message/28097#28100 · In reply to: #28099

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
> 
> 
> > […]

---

## #28101 — Antony Dovgal — 2007-02-20T20:53:47+00:00

URL: https://externals.io/message/28097#28101 · In reply to: #28100

> 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

insert "./buildconf" here

> ./configure --my-options
> make
> make test
> 
> Then we'll see what happens!
> 
> Rebuilding with ./cvsclean run!


-- 
Wbr, 
Antony Dovgal

---

## #28102 — Chris Malton — 2007-02-20T21:17:56+00:00

URL: https://externals.io/message/28097#28102 · In reply to: #28097

OK, there are still some problems with PHP6, as indicated by my make
test command.  The script has posted my results to the server.  I await
the message's arrival on php.qa

Chris


Chris Malton 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

---

## #28103 — Antony Dovgal — 2007-02-20T21:25:27+00:00

URL: https://externals.io/message/28097#28103 · In reply to: #28102

> OK, there are still some problems with PHP6, as indicated by my make
> test command.  The script has posted my results to the server.  I await
> the message's arrival on php.qa

Did you really expect a pre-alpha PHP6 to be free of problems?
Of course there are a lot of problems, but PHP6 is still under development 
(and you are encouraged to help us).

-- 
Wbr, 
Antony Dovgal

---

## #28104 — Antony Dovgal — 2007-02-20T21:27:29+00:00

URL: https://externals.io/message/28097#28104 · In reply to: #28102

> OK, there are still some problems with PHP6, as indicated by my make
> test command.  The script has posted my results to the server.  I await
> the message's arrival on php.qa

Btw, it won't appear on php.qa.
Only test results for current releases and RCs appear there.

-- 
Wbr, 
Antony Dovgal

---

## #28105 — Hannes Magnusson — 2007-02-20T21:30:38+00:00

URL: https://externals.io/message/28097#28105 · In reply to: #28102

> OK, there are still some problems with PHP6, as indicated by my make
> test command.  The script has posted my results to the server.  I await
> the message's arrival on php.qa

PHP QA only accepts test results from the current test or stable
releases, that is;
In RC phase: only test results from that RC get accepted.
No RC out yet: Only latest release gets accepted.

Meaning: currently PHP QA only accepts tests from PHP4.4.5 & 5.2.1.

-Hannes

>
> Chris
>
>
> Chris Malton wrote:
> > […]
