Compiler issues with ./configure


 
Thread Tools Search this Thread
Operating Systems Solaris Compiler issues with ./configure
# 1  
Old 02-21-2006
Compiler issues with ./configure

Hi guys i'm running solaris 7 on an ultra 5 sparc system and for the life of me i keep getting this error when trying to configure apache:




checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.



This is my config.log results:

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1648: checking for chosen layout
configure:1650: result: Apache
configure:2446: checking for working mkdir -p
configure:2462: result: yes
configure:2479: checking build system type
configure:2497: result: sparc-sun-solaris2.7
configure:2505: checking host system type
configure:2519: result: sparc-sun-solaris2.7
configure:2527: checking target system type
configure:2541: result: sparc-sun-solaris2.7
configure:2585: checking for APR
configure:2667: result: yes
configure:2913: checking for APR-util
configure:2995: result: yes
configure:3219: checking for gcc
configure:3245: result: gcc
configure:3489: checking for C compiler version
configure:3492: gcc --version </dev/null >&5
gcc (GCC) 3.4.2
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3495: $? = 0
configure:3497: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.7/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nl
Thread model: posix
gcc version 3.4.2
configure:3500: $? = 0
configure:3502: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:3505: $? = 1
configure:3528: checking for C compiler default output file name
configure:3531: gcc -g -O2 -pthreads -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -L/usr/local/li
b conftest.c >&5
ld: fatal: relocation error: R_SPARC_32: file /var/tmp//ccxZ7rDT.o: symbol <unknown>: offset 0xff0b164f is non-aligned

collect2: ld returned 1 exit status
configure:3534: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */




if u guys have any input for me i could use the help. For reference i've done all the path changes have reinstalled GCC like 3 times and have set LD_LIBRARY_PATH
also in the gcc mkheaders.conf file i added the line #! /bin/sh to the top in the install-tools directory of my gcc libraries

Thanks for any input u can give me because i feel like im taking crazy pills
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Gcc g++ on cygwin - configure: error: *** A compiler with support for C++11 language features is req

Hi, Apologies if I posted it in a wrong section as it is related to gcc on cygwin. Please move it to appropriate section. I'm trying to compile and build libsigc++-2.10.2 on cygwin with gcc 8.3.0. when I run ./configure, I get this: I couldn't fully understand what does... (13 Replies)
Discussion started by: prvnrk
13 Replies

2. UNIX and Linux Applications

Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux

Hi Team, I am facing issue while using Xalan & Xerces for my application. Below are my environment details i am using :- Platform:- Oracle Linux 6.6 Compiler :- solarisstudio12.3 C++ compiler for Linux Below are the versions of Xalan & Xerces source code used to build the shared object... (0 Replies)
Discussion started by: agrachirag
0 Replies

3. HP-UX

Migration - Compiler Issues.

All, We are migrating an application from HP-UX B.11.00 to HP-UX B.11.31 and both of them have the same informix version - 7.25se. However the compilers are different on both servers. HP-UX B.11.00 - has B3913DB C.03.33 HP aC++ Compiler (S800) HP-UX B.11.31 - has PHSS_40631 1.0 HP C/aC++... (2 Replies)
Discussion started by: helper
2 Replies

4. UNIX for Dummies Questions & Answers

cc compiler and gcc compiler

hi, can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also can we install sun cc compiler in AIX environment and vice versa. and more ..is linux support cc compiler regards Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies

5. Ubuntu

./configure command Error while trying to install GCC compiler on unix machine

Hi, I need to install the GCC compiler on a my Linus machine. First step is to run the ./configure command and here we need to specify ./configure --target="target machine name (CPU type-Manufacturer-OS) or other way would be just give the command ./configure and it guesses the target name... (11 Replies)
Discussion started by: viji19812001
11 Replies

6. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies

7. UNIX for Dummies Questions & Answers

xl C/C++ compiler to GCC compiler

Hi, we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier). As a part of this i need to change the CFLAGS. The xl c/c++ complier CFLAGS is CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \ -qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies

8. Programming

Compiler License Issues

Although not strictly about the process of coding in C, this forum seemed the most appropriate for this topic. Apologies if that's not correct. I have been contacted by one of my developers; they are receiving this error message on our AIX box: 4053: cc EXTRACT.c 1506-507 (W) No licenses... (1 Reply)
Discussion started by: sam_pointer
1 Replies

9. UNIX for Dummies Questions & Answers

plz Help How should I configure cc compiler output file plz help???

i.e configuration of C compiler :confused: (4 Replies)
Discussion started by: atiato
4 Replies
Login or Register to Ask a Question