public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Installation problem
@ 2001-10-16  7:25 Claude Bastien
  2001-10-16  7:55 ` Rupert Wood
  0 siblings, 1 reply; 5+ messages in thread
From: Claude Bastien @ 2001-10-16  7:25 UTC (permalink / raw)
  To: gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4110 bytes --]

Hello,
I have installed a gcc compiler and i can't succed to used it !
The installation seems to be correct but when I launch a compliation,
I get thhe message :
uranus:/apache # gcc -O dhryc.c  -o test
as: "/var/tmp/ccWFjDFa.s", line 24: error 1052: Directive name not
recognized -
NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 77: error 1052: Directive name not
recognized -
NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 255: warning 36: Use of %fr23L is incorrect
for
the current LEVEL of 1.0
as: "/var/tmp/ccWFjDFa.s", line 257: warning 36: Use of %fr24L is incorrect
for
the current LEVEL of 1.0
as: "/var/tmp/ccWFjDFa.s", line 258: warning 36: Use of %fr23L is incorrect
for
the current LEVEL of 1.0
as: "/var/tmp/ccWFjDFa.s", line 258: warning 36: Use of %fr24L is incorrect
for
the current LEVEL of 1.0
as: "/var/tmp/ccWFjDFa.s", line 258: warning 36: Use of %fr22 is incorrect
for t
he current LEVEL of 1.0
as: "/var/tmp/ccWFjDFa.s", line 258: warning 36: Use of XMPYU is incorrect
for t
he current LEVEL of 1.0
as: "/var/tmp/ccWFjDFa.s", line 259: warning 36: Use of %fr22R is incorrect
for
the current LEVEL of 1.0
as: "/var/tmp/ccWFjDFa.s", line 308: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 378: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 407: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 441: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 454: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 470: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 493: error 1052: Directive name not
recognized -
 BEGIN_BRTAB
as: "/var/tmp/ccWFjDFa.s", line 509: error 1052: Directive name not
recognized -
 END_BRTAB
as: "/var/tmp/ccWFjDFa.s", line 535: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 548: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 591: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 607: error 1052: Directive name not
recognized -
 NSUBSPA
as: "/var/tmp/ccWFjDFa.s", line 657: error 1052: Directive name not
recognized -
 NSUBSPA
uranus:/apache #
Version installed :
 gcc                          
2.95.3         gcc
The same command with the cc compiler is ok !
uranus:/apache # cc -O dhryc.c  -o test
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (dhryc.o)
was detecte
d. The linked output may not run on a PA 1.x system.
uranus:/apache # ll
total 116
-rw-r-----   1 root       sys         
32917 Oct 16 15:46 dhryc.c
drwxrwxrwx   4 root       sys          
1024 Oct 16 15:42 install
drwxr-xr-x   2 root       root           
96 Aug 27 15:53 lost+found
drwxrwxrwx   2 root       sys            
96 Oct 16 14:20 php
-rwxrwxrwx   1 root       sys         
20480 Oct 16 16:33 test
uranus:/apache #
Can you help me ?
Thank's for your help, bests regards
--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Installation problem
  2001-10-16  7:25 Installation problem Claude Bastien
@ 2001-10-16  7:55 ` Rupert Wood
  2001-10-17  1:15   ` Claude Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Rupert Wood @ 2001-10-16  7:55 UTC (permalink / raw)
  To: 'Claude Bastien'; +Cc: gcc

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Installation problem
  2001-10-16  7:55 ` Rupert Wood
@ 2001-10-17  1:15   ` Claude Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Claude Bastien @ 2001-10-17  1:15 UTC (permalink / raw)
  To: Rupert Wood; +Cc: gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4899 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Installation Problem
  2007-11-26 22:43 Installation Problem Joseph Maxwell
@ 2007-11-27 12:24 ` Tim Prince
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Prince @ 2007-11-27 12:24 UTC (permalink / raw)
  To: Joseph Maxwell; +Cc: gcc-help, gcc

Joseph Maxwell wrote:
> 
> I am attempting to install gcc-4.2.2 on an SGI Octane running IRIX 6.5.26
> I untar'd the gcc-4.2.2.tar file in the target directory /usr/local/gcc4x

>    checking for gcc... gcc
>    checking whether the C compiler (gcc  ) works... no
>    configure: error: installation or configuration problem: C compiler
> cannot create executables.
> 

> Could you advise?
Someone will have to look at config.log and try to figure out how to
make your previous gcc work.  Why not you?
> 
> BTW: I would like to use the Fortran f77 or f95 compiler when installed,
> are there any special nuances to observe?

gcc-4.2 includes gfortran; should do the job for you.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Installation Problem
@ 2007-11-26 22:43 Joseph Maxwell
  2007-11-27 12:24 ` Tim Prince
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph Maxwell @ 2007-11-26 22:43 UTC (permalink / raw)
  To: gcc-help, gcc


I am attempting to install gcc-4.2.2 on an SGI Octane running IRIX 6.5.26
I untar'd the gcc-4.2.2.tar file in the target directory /usr/local/gcc4x
I went through the traditional 'configure' step as a prelude to the 
'make install' step

That produced the following =>
 
   configure
    creating cache ./config.cache
    checking host system type... mips-sgi-irix6.5
    checking target system type... mips-sgi-irix6.5
    checking build system type... mips-sgi-irix6.5
    checking for a BSD compatible install... ./install-sh -c
    checking whether ln works... yes
    checking whether ln -s works... yes
    checking for gcc... gcc
    checking whether the C compiler (gcc  ) works... no
    configure: error: installation or configuration problem: C compiler 
cannot create executables.

I do have other prior version of gcc installed =>

    versions | grep gcc
    I  fw_gcc               06/05/2007  gcc-3.3 GNU Compiler Suite
    I  fw_gcc.man           06/05/2007  gcc-3.3 man pages
    I  fw_gcc.man.gcc       06/05/2007  gcc-3.3 man pages
    I  fw_gcc.man.info      06/05/2007  gcc-3.3 info pages
    I  fw_gcc.man.relnotes  06/05/2007  gcc-3.3 release notes
    I  fw_gcc.sw            06/05/2007  gcc-3.3 execution only env
    I  fw_gcc.sw.gcc        06/05/2007  gcc-3.3 execution only env
    I  fw_gcc.sw.libstdc++  06/05/2007  gcc-3.3 libstdc++-v3
    I  fw_gcc.sw.utils      06/05/2007  gcc-3.3 other languages, utilities
    I  neko_gcc             11/18/2007  gcc-3.4.6 GNU Compiler Collection
    I  neko_gcc.man         11/18/2007  gcc-3.4.6 man pages
    I  neko_gcc.man.gcc     11/18/2007  gcc-3.4.6 man pages
    I  neko_gcc.sw          11/18/2007  gcc-3.4.6 execution only env
    I  neko_gcc.sw.gcc      11/18/2007  gcc-3.4.6 execution only env
    I  neko_gcc.sw.utils    11/18/2007  gcc-3.4.6 other languages, utilities

Could you advise?

BTW: I would like to use the Fortran f77 or f95 compiler when installed, 
are there any special nuances to observe?

Thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-27  2:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-16  7:25 Installation problem Claude Bastien
2001-10-16  7:55 ` Rupert Wood
2001-10-17  1:15   ` Claude Bastien
2007-11-26 22:43 Installation Problem Joseph Maxwell
2007-11-27 12:24 ` Tim Prince

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).