Home > C Compiler > C Compiler Cannot Create Executables On Solaris 10

C Compiler Cannot Create Executables On Solaris 10

Contents

Having a problem logging in? more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science ActiveState, Komodo, ActiveState Perl Dev Kit, ActiveState Tcl Dev Kit, ActivePerl, ActivePython, and ActiveTcl are registered trademarks of ActiveState. gcc > checking for C compiler default output file name... > configure: error: C compiler cannot create executables > See `config.log' for more details. his comment is here

Have you tried to compile a minimal C program like "int main(void) { return 0; }"? build 5658) (LLVM build 2336.11.00) xcode-select -print-path: /Applications/Xcode.app/Contents/Developer mislav commented Sep 1, 2013 Do you have "apple-gcc42" installed via Homebrew? http://opensolaris.org/jive/thread.jspa?threadID=54665&tstart=0 Comment 11 littlestar 2008-06-07 04:04:22 UTC Ping... sparc-sun-solaris2.10 checking target system type... http://unix.stackexchange.com/questions/146402/configure-error-c-compiler-cannot-create-executables

Configure Error C Compiler Cannot Create Executables Linux

Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. While running config.nice taken from apache2.2.15/build I am getting following error: checking whether the C compiler works... Do you have gcc installed? I've unpacked the nagios-plugins tar file into /usr/local/src: Code: [infobright01-dc2:/usr/local/src] root% ls -l total 5137 drwxrwxrwx 16 root root 47 Mar 6 17:24 nagios-plugins-1.4.15 -rw-r--r-- 1 root root 2095419 Mar 6

Looking for a nice example for normal subgroups Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture? First of all, make sure you have upgraded your commandline tools: $ xcode-select --install Now Apple wants you to agree to their license before you can use these tools: $ gcc yes checking for a thread-safe mkdir -p... Checking For C Compiler Default Output File Name no checking for nawk...

I have also tested out c compiler by running a small test.c script and it runs fine. Configure: Error: C Compiler Cannot Create Executables Mac Determine maximum frequency of input signal to make system LTI Prepared for Yet Another Simple Rebus? pkg search values-Xa.o should show the name of the package to install. All other marks are property of their respective owners. UNIX & Linux Forums > Operating Systems > Solaris Member Name Remember Me?

If I have a look at config.log this is what I see: Code: [infobright01-dc2:/usr/local/src/nagios-plugins-1.4.15] root% tail -30 config.log localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='$(top_builddir)/build-aux/install-sh -c -d' np_mysql_config='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' Checking Whether The C Compiler Works... No Mac Your error that the C compiler cannot produce executable is likely caused by not having a 32 bit toolchain present. i386-pc-solaris2.10 checking for a BSD-compatible install... /export/home/test/gcc-4.3.1-build/src/install-sh -c checking whether build environment is sane... more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science

Configure: Error: C Compiler Cannot Create Executables Mac

You might have better results with the gcc release bundled with the OS in /usr/sfw/bin/gcc. Comment 5 Andrew Pinski 2008-05-28 07:55:22 UTC >checking for C compiler default output file name... Configure Error C Compiler Cannot Create Executables Linux yes checking for i386-pc-solaris2.10-gcc... /export/home/test/gcc-4.3.1-build/build/./gcc/xgcc -B/export/home/test/gcc-4.3.1-build/build/./gcc/ -B/opt/gcc-4.3.1/i386-pc-solaris2.10/bin/ -B/opt/gcc-4.3.1/i386-pc-solaris2.10/lib/ -isystem /opt/gcc-4.3.1/i386-pc-solaris2.10/include -isystem /opt/gcc-4.3.1/i386-pc-solaris2.10/sys-include -m64 checking for C compiler default output file name... Configure Error C Compiler Cannot Create Executables Ubuntu Thanks, Doug Attached Files config.txt (10.4 KB, 5 views) Last edited by Doug_M; 02-11-2011 at 11:57 AM..

Are you new to LinuxQuestions.org? this content lowercase breadcrumbs Prepared for Yet Another Simple Rebus? Find More Posts by bluethundr 03-06-2012, 05:41 PM #2 jlliagre Moderator Registered: Feb 2004 Location: Outside Paris Distribution: Solaris 11.3, Oracle Linux, Mint Posts: 9,641 Rep: /usr/local/bin/gcc isn't part How can I check that the voltage output from this voltage divider is 2.25V? Configure: Error: C Compiler Cannot Create Executables Centos

c++ c gcc erlang solaris share|improve this question edited Jul 31 '11 at 11:17 asked Jul 31 '11 at 10:58 Muzaaya Joshua 5,36833066 Please post the relevant part of As a quick check, you can try adding /usr/ccs/lib to the library path: ./configure LDFLAGS="-L/usr/ccs/lib" share|improve this answer answered Jul 31 '11 at 11:37 Frédéric Hamidi 169k22305355 2 solaris2.11 means nawk > checking whether make sets $(MAKE)... weblink This site is not affiliated with Linus Torvalds or The Open Group in any way.

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Checking Whether The C Compiler Works... No Centos OK sounds good. searching the web got me to try adding /usr/ccs/bin in order to locate the ld.so file (probably got to do with C++ Compiler or linker).

Note that the new forums are a fresh start - you will have to register a new account.

Processor type: i486 (Intel 80486) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 4.00 gigabytes Default processor set: 109 tasks, 599 threads, 8 processors Load average: no checking for nawk... share|improve this answer answered Nov 15 '13 at 4:56 konrad 1,2931221 2 This worked for me; Xcode was install (clean Mavericks installation) but the command-line tools weren't automatically installed. –JESii Configure: Exit 77 yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk...

What should I do when the boss "pulls rank" to get their problems solved over our customers' problems? build 5484) configure:2857: $? = 0 configure:2864: gcc -V >&5 gcc-4.0: argument to `-V' is missing configure:2868: $? = 1 configure:2891: checking for C compiler default output file name configure:2913: gcc configure: error: C compiler cannot create executables See `config.log' for more details. check over here yes checking for gawk...

The first one ( " ) is legal while the second one ( ” ) is not. Stop. However, versions of Ruby older than 1.9.3-p125 are incompatible with llvm-gcc. All Rights Reserved.

Forum Operations by The UNIX and Linux Forums current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. There are likely multiple packages missing that prevent gcc to work.