about compiler Gcc for solaris2.5.1?

about compiler Gcc for solaris2.5.1?

Post by raten » Tue, 07 Dec 1999 04:00:00



hi,
 I want to compile apache1.3 in the solaris 2.5.1 platform.
 but false. error has following with this :

Using config file: Configuration
Creating Makefile
 + configured for Solaris 251 platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!

I think that is my solaris compiler GCC having question.
I want to download a new GCC and re-install it .
Can I do what ? Please help me? thinks .

sinerrly

regard


 
 
 

about compiler Gcc for solaris2.5.1?

Post by Noal McDonal » Tue, 07 Dec 1999 04:00:00



Quote:>  I want to compile apache1.3 in the solaris 2.5.1 platform.

> I think that is my solaris compiler GCC having question.
> I want to download a new GCC and re-install it .

Go to
http://www.sunfreeware.com
click on "SPARC/Solaris 2.5" or "INTEL/Solaris 2.5" as appropriate
and download "gcc-2.8.1-local.gz".  If the ".gz" is missing, add it
on either before downloading or after.  After that, gunzip it.  When
that's done, do a "pkgadd -d ./gcc-2.8.1-local" and it will be
installed in /usr/local/bin.

Incidentally, an apache 1.3.3 binary is also available on that
web page to be installed the same way.

Noal
--
"Sure, it's every American's right to post false or misleading
information on the Internet."
-The Detroit News

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

about compiler Gcc for solaris2.5.1?

Post by Ron Carve » Tue, 07 Dec 1999 04:00:00



> hi,
>  I want to compile apache1.3 in the solaris 2.5.1 platform.
>  but false. error has following with this :

> Using config file: Configuration
> Creating Makefile
>  + configured for Solaris 251 platform
>  + setting C compiler to gcc
>  + setting C pre-processor to gcc -E
>  + checking for system header files
>  + adding selected modules
>  + checking sizeof various data types
>  + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed. This is most likely because your C compiler
> ** is not ANSI. Apache requires an ANSI C Compiler, such
> ** as gcc. The above error message from your compiler
> ** will also provide a clue.
>  Aborting!

> I think that is my solaris compiler GCC having question.
> I want to download a new GCC and re-install it .
> Can I do what ? Please help me? thinks .

> sinerrly

> regard



  Check out http://www.sunfreeware.com

You can download a new gcc compiler there.

 
 
 

1. Busted GNU compilers for Solaris2.5.1 box

I get the following message when I try to compile anything with g++ :

ld: elf error: a.out: elf_update: Request error: update() ELF_C_...

I recently installed gcc-2.8.1 and libstdc++-2.8.1.

When I try to compile a program with gcc I get:

 ld: elf error: a.out: elf_update: Request error: update() ELF_C_...

As well.

This happen with any user.

The sample programs are as follows:

c++

#include <iostream.h>
void main()
{
cout<<"Hello!\n";

C

#include <stdio.h>

int main()
{
int a=6, b=7, c;
c=a+b;
printf("Adding %d to %d equals %d\n\n",a,b,c);
return 0;

Any suggestions on how I could get my compilers to start working again.

Thanks

2. Another Security Patch -- When will it end????

3. Compiling Apache on Solaris2.5.1 w/SUNpro C compiler

4. test 2

5. bootstrapping gcc for solaris2.5.1?

6. Winblows to Linux VERY SLOW!

7. Solaris2.6 TCP/IP faces Solaris2.5.1.

8. ipsec connections trough ipfw

9. Losing space from Solaris2.4 to Solaris2.5.1?

10. Does anyone have ssh binaries for Solaris2.5.1 or Solaris2.6?

11. DNS search between Solaris2.5.1 and Solaris2.6

12. Solaris2.3 - Solaris2.5.1 captive accounts

13. RedHat 5.1 - GCC internal compiler errors