If you're smart enough to edit a spec file, you could just compile from
source... :-)

----- Original Message -----
From: "Michael A. Peters" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Saturday, January 13, 2001 12:36 AM
Subject: [PHP] Problem building php 3.0.18


> Howdy-
>
> I'm having a slight problem when attempting to build php 3.0.18
>
> First of all I'd like to say the rpm spec file I inherited for this is a
> mess- I may clean it up (likely start from scratch...), but the spec
> file I'm using isn't the issue.
>
> mod_php builds just dandy- but I get bad linking errors when attempting
> to build the calendar.so and crypt.so modules.
>
> here's the problem:
> cd dl
> ./setup
>
> make 'CFLAGS=-I/usr/include/apache -I. -I../' calendar.so crypt.so
> gcc -I/usr/include/apache -I. -I../ -DCOMPILE_DL=1 -c -o
> calendar/calendar.o calendar/calendar.c
> gcc -I/usr/include/apache -I. -I../ -DCOMPILE_DL=1 -c -o calendar/dow.o
> calendar/dow.c
> gcc -I/usr/include/apache -I. -I../ -DCOMPILE_DL=1 -c -o
> calendar/french.o calendar/french.c
> gcc -I/usr/include/apache -I. -I../ -DCOMPILE_DL=1 -c -o
> calendar/gregor.o calendar/gregor.c
> gcc -I/usr/include/apache -I. -I../ -DCOMPILE_DL=1 -c -o
> calendar/jewish.o calendar/jewish.c
> gcc -I/usr/include/apache -I. -I../ -DCOMPILE_DL=1 -c -o
> calendar/julian.o calendar/julian.c
> gcc -I/usr/include/apache -I. -I../ -DCOMPILE_DL=1 -c -o
> calendar/easter.o calendar/easter.c
> ld -o calendar.so calendar/calendar.o calendar/dow.o calendar/french.o
> calendar/gregor.o calendar/jewish.o calendar/julian.o calendar/easter.o
> ld: warning: cannot find entry symbol _start; defaulting to 08048080
> calendar/calendar.o: In function `cal_jdtogreg':
> calendar/calendar.o(.text+0x29): undefined reference to `getParameters'
> calendar/calendar.o(.text+0x42): undefined reference to
> `convert_to_long'
> yada (more errors of same)
>
> This spec file is known to build php-3.0.16 no problem.
> The spec file build 3.0.18 if I comment out the attempts to build
> calendar.so and crypt.so- including all the other *so modules (mysql.so,
> pgsql.so, gd.so, yada yada)
>
> Issue happens on both glibc 2.2 (red hat 7.0) and glibc 2.1.3 (rh 6.2)
> Compiler on both is gcc 2.95.3, ld on RH7 is gnu ld 2.10.90 (not sure on
> rh6)
>
> Anyone know what the issue is?
>
> my spec file can be viewed at http://24.5.29.77/SPECS/mod_php3.spec if
> anyone cares to take a look. (NOTE- in that spec file, I currently have
> the problem areas commented out so it would build.)
> -=-=-=-=-=-=-=-=-=-=-=-=-
> Michael A. Peters
> Abriasoft Senior Developer
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to