This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Installation problem


Hello,

In fact, my problem was solved by installing binutils. It's the first time I made this kind of installation and I mised to installed this utility.

So now, I can compiled properly.

I  try to installed apache withg apache toolbaox but when i compiled the php module, I get this messages :

( Copie of the end of the log). Do you have an idea , how i can solved this problem ?

Thank's for your help , bests regards Claude BASTIEN

End of the log file :

pache_1.3.20/src/include
-I/apache/install/Apachetoolbox-1.5.38/apache_1.3.20/sr

c/os/unix -I/apache/install/Apachetoolbox-1.5.38/src/php-4.0.6/Zend
-I/apache/in

stall/Apachetoolbox-1.5.38/src/php-4.0.6/ext/mysql/libmysql
-I/apache/install/Ap

achetoolbox-1.5.38/src/php-4.0.6/ext/xml/expat/xmltok
-I/apache/install/Apacheto

olbox-1.5.38/src/php-4.0.6/ext/xml/expat/xmlparse
-I/apache/install/Apachetoolbo

x-1.5.38/src/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c
libmy

sql.c && touch libmysql.lo
In file included from global.h:128,
                 from libmysql.c:9:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: `

__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26:
warning:
this is the location of the previous definition
In file included from global.h:156,
                 from libmysql.c:9:
/usr/include/time.h:24: warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: t

his is the location of the previous definition
libmysql.c: In function `read_user_name':
libmysql.c:503: dereferencing pointer to incomplete type
libmysql.c:504: warning: assignment makes pointer from integer without a
cast
libmysql.c:504: warning: assignment makes pointer from integer without a
cast
libmysql.c:505: warning: assignment makes pointer from integer without a
cast
libmysql.c: In function `mysql_debug':
libmysql.c:578: warning: assignment makes pointer from integer without a
cast
libmysql.c: In function `mysql_once_init':
libmysql.c:1028: warning: assignment makes pointer from integer without a
cast
libmysql.c:1041: warning: assignment makes pointer from integer without a
cast
libmysql.c: In function `mysql_real_connect':
libmysql.c:1186: warning: assignment makes pointer from integer without a
cast
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Rupert Wood a écrit :

Claude Bastien wrote:

> as: "/var/tmp/ccWFjDFa.s", line 255: warning 36: Use of %fr23L is
> incorrect for the current LEVEL of 1.0

It looks like you've installed a GCC 2.95.3 binary on an HP/UX 11
machine without also installing binutils. There are problems compiling
2.95.x to run on HP/UX 11 because the default configure scripts don't
recognised version 11 and assumes it will be talking to an HP/UX 9
assembler.

The best thing for you to do is to rebuild GCC 3 (which does properly
support HP/UX 11) yourself.

  1. Download and build the latest GNU make. I think it builds
     using HP/UX 11's bundled CC; try disabling NLS support in
     the configure if it doesn't.

  2. Download and build GCC 3.01 using the bundled CC, bundled
     assembler and GNU make. You just need a C-language install.
     If you follow instructions and 'make bootstrap' then you
     can expect (harmless) comparison failures. (It might not
     even be necessary to bootstrap.) Install this compiler.

  3. Download and install the most recent stable binutils
     using the compiler above.

  4. In a fresh build directory, rebuild GCC to target the
     GNU assembler built with the binutils. Bootstrap
     should succeed without problems. Install.

This will take time to build all of these, though. You may get away with
just installing the binary binutils which go with the gcc binary you
downloaded (since I assume the packager made them work together) and
then, optionally, building GCC 3 using that compiler to target those
binutils.

Good luck!

Rup.

--
Claude BASTIEN, Responsable systèmes & Réseaux ISM

Adresse postale :
Républicain Lorrain
3 avenue des 2 Fontaines
57140 WOIPPY

Tél : 03.87.34.16.41
Fax : 03.87.32.35.69

E Mail : c.bastien@republicain-lorrain.fr

URL : http://www.republicain-lorrain.fr
 

begin:vcard 
n:BASTIEN;Claude
tel;cell:06 16 75 23 08
tel;fax:03 87 32 35 69
tel;work:03 87 34 16 41
x-mozilla-html:FALSE
url:www.republicain-lorrain.fr
org:ISM 
version:2.1
email;internet:c.bastien@republicain-lorrain.fr
title:Responsable systèmes et réseaux
adr;quoted-printable:;;R=E9publicain-Lorrain=0D=0A3 Avenue des 2 fontaines ;WOIPPY;;57140;FRANCE
fn:Claude BASTIEN
end:vcard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]