I had a similar problem in IRIX 6.5. 

I was compiling PDFLib as a static library and the problem was fixed
compiling PDFLib as a dynamic one. 

Hope it helps.

Christian

> -----Mensaje original-----
> De: Administrator [mailto:[EMAIL PROTECTED]]
> Enviado el: lunes 5 de febrero de 2001 16:43
> Para: [EMAIL PROTECTED]
> Asunto: [PHP-INST] PHP 4.0.4pl1 & PDFlib 3.03
> 
> 
> 
> Hi!
>       I would like to compile PHP with pdflib, but in configuration
> phase of PHP i get 
> 
> configure:33582: checking whether to include Pdflib 3.x support
> configure:33732: checking for PDF_show_boxed in -lpdf
> configure:33751: egcs -o conftest -O9 -funroll-loops -ffast-math
> -malign-double
> /usr/bin/../lib/libpdf.a: file not recognized: File format 
> not recognized
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 33740 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char PDF_show_boxed();
> 
> int main() {
> PDF_show_boxed()
> ; return 0; }
> 
> So I can't generate the Makefile. I compiled pdflib with default
> parameters.
> 
> What's wrong?
>               Thomas Jalsovsky
> 
> p.s.: PHP compilation command
> CC="egcs" \
> CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro
> -march=pe
> ./configure \
> --prefix=/usr \
> --with-exec-dir=/usr/bin \
> --with-apache=../apache_1.3.17 \
> --with-mysql=/home/mysql \
> --with-config-file-path=/etc/httpd \
> --disable-debug \
> --enable-safe-mode \
> --with-gd \
> --with-mm=../mm-1.1.3 \
> --with-imap=../imap-4.7c \
> --enable-inline-optimization \
> --with-snmp=/usr/local \
> --enable-ucd-snmp-hack \
> --with-gnu-ld \
> --enable-memory-limit \
> --with-pdflib=/usr/local
> 
>       
> 
> -- 
>  -------------------------------------------------------------------
>            Thomas Jalsovsky, IP network administrator at PosTel, a.s.
>                         PosTel, a.s. Kvacalova 53,82108 Bratislava 2
>                         Tel.: +421-7-50203160, Fax.: +421-7-55969603
>                      http://www.postel.sk, http://postel.inshop.sk
>             GlobalPhone, voice over IP   http://www.globalphone.sk
> 
> 
> -- 
> PHP Install 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]
> 

***************************************************************************

DISCLAIMER: Este mensaje contiene información propietaria 
de la cual parte o toda puede contener información confidencial
o protegida legalmente. Esta exclusivamente destinado al 
usuario de destino.
Si, por un error de envio o transmisión, ha recibido este mensaje 
y usted no es el destinatario del mismo, por favor, notifique
de este hecho al remitente.
Si no es el destinatario final de este mensaje no debe usar, 
informar, distribuir, imprimir, copiar o difundir este mensaje 
bajo ningún medio.

---------

DISCLAIMER: This e-mail contains propietary information some 
or all of which may be legally privileged. It is for the intended 
recipient only. If an addressing or transmission error has 
misdirected this e-mail, please notify the author by replying to
this e-mail. If you are not the intended recipient you must not use,
disclose, distribute, copy, print or relay on this e-mail.

***************************************************************************

-- 
PHP Install 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