![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Packaging and Compiling Programs Need help compiling programs or creating .deb packages? |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2005
Beans: 2
|
libxine1c2 - C compiler cannot create executables
Thanks for reading this. . .
I'm trying to compile libxine1c2 and get the following error: configure: error: C compiler cannot create executables The config.log reads in part: configure:2523: $? = 0 configure:2525: gcc -v </dev/null >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) configure:2528: $? = 0 configure:2530: gcc -V </dev/null >&5 gcc: couldn't run 'i486-linux-gnu-gcc--O3': Invalid argument configure:2533: $? = 1 configure:2557: checking for C compiler default output configure:2560: gcc -g conftest.c >&5 `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. collect2: cannot find 'ld' configure:2563: $? = 1 configure: failed program was: | #line 2536 "configure" | /* confdefs.h. */ I welcome suggestions as to how to fix this. Thanks in advance. |
|
|
|
|
|
#2 |
|
Ubuntu Extra Shot
![]() Join Date: Aug 2005
Location: crewe, uk
Beans: 330
Ubuntu 6.06
|
Re: libxine1c2 - C compiler cannot create executables
Code:
sudo apt-get install build-essential |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2005
Beans: 2
|
Re: libxine1c2 - C compiler cannot create executables
It's already installed.
|
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 1
|
Re: libxine1c2 - C compiler cannot create executables
yep. this worked for me.
thanks |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
My beans are hidden!
|
Re: libxine1c2 - C compiler cannot create executables
i have the same problem and can't figure out what's wrong, i pdkg-reconfigured anything i could and still have the same problem, i have the same problem with anything i try to dpk-build. make, and so ld, works for programs i compile from the tar.gz it must be some dpkg-build bug
i added the backports to my sources.list maybe it's the source of the problem help please !!! |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: May 2006
Beans: 2
|
Re: libxine1c2 - C compiler cannot create executables
I had the same problem after just installing make and gcc. Ran the code suggested by gord and I could compile. I was trying to compile the meanwhile plugin for gaim so I can use my Linux desktop to connect to the Lotus Sametime servers.
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2006
Location: Portugal, Lisbon
Beans: 11
|
Re: libxine1c2 - C compiler cannot create executables
same problem here, and it helped...
thx |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Beans: 1
Kubuntu 7.04 Feisty Fawn
|
Re: libxine1c2 - C compiler cannot create executables
Thx, it's help me too
![]() |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2007
Beans: 1
|
Re: libxine1c2 - C compiler cannot create executables
Hi all,
I am running Ubuntu 6.06 LTS from my PenDrive on Compaq presario v6211au notebook. I was unable to compile reSIProcate as it said "C compiler can not create executables". doing <code> sudo apt-get install build-essential </code> solved my problem. Thnaks Ubuntu Community. |
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2008
Beans: 1
|
Re: libxine1c2 - C compiler cannot create executables
Thank you, this worked for me. It was my first attempt at a build and I could not have done it without your help.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|