C compiler cannot create executables

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Old 02-11-2011
[SOLVED] C compiler cannot create executables


I'm trying to compile Apache2.2 (I know it is available as a package) on a fresh install of Solaris Express 11. I've installed gcc-3 and gnu-bintutils via pkg. The config.log is attached (as config.txt). I don't see what I'm missing.


Last edited by Doug_M; 02-11-2011 at 10:57 AM..
# 2  
Old 02-11-2011
A little more investigation into this I see that in config.log there is a failure because of -mt:

configure:4541: gcc -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -mt -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/lib conftest.c >&5
cc1: error: invalid option `t'

Why configure use that I don't know but from googling I see that it is valid for cc but not gcc.

---------- Post updated at 11:57 AM ---------- Previous update was at 11:36 AM ----------

Solved. I had apr (from previous install of Apache pkg). Removing that solved the problem.

---------- Post updated at 11:58 AM ---------- Previous update was at 11:57 AM ----------

solved it by removing apr which was previously installed with the packaged version of Apache.
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Gcc cannot create executables jgt Ubuntu 3 07-28-2015 08:28 PM
Finding All Pro *C executables Jcpratap UNIX for Advanced & Expert Users 2 10-20-2014 08:31 AM
Scripting with executables hayreter Shell Programming and Scripting 17 05-13-2013 12:31 PM
Makefile with multiple executables bpetersen Shell Programming and Scripting 1 04-25-2013 12:19 PM
Searching for executables Sagan_Radiation Shell Programming and Scripting 2 06-14-2012 12:14 PM
Fortran Compiler cannot create executables Physicslad78 Linux 7 04-20-2011 11:10 AM
Running executables in ksh larangunn Shell Programming and Scripting 4 04-18-2011 06:54 PM
Compare two executables BrighterLater Programming 18 05-20-2009 07:30 AM
How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries? f.ben.isaac Programming 12 11-14-2008 10:25 AM
gcc error..compiler cannot create executables vasanthan HP-UX 1 06-02-2008 11:20 AM
Regarding shell scripts to executables lokachari UNIX for Dummies Questions & Answers 16 12-21-2007 07:43 AM
Error creating executables chetan2309 Programming 6 08-07-2006 02:50 PM
executables ending with * binums Programming 2 01-25-2006 10:39 PM
cannot create executables stufine UNIX for Dummies Questions & Answers 6 01-23-2003 03:43 PM