Slackware :: C Compiler Cannot Create Executables?
Jan 7, 2011
earlier this morning, i compiled Qtcurve with no issues. but now, when i try to compile Avant Window Navigator, i get a strange error. everything begins to compile, it checks dependencies, begins compiling, and then i get this error:
Code:
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
I was trying to compile xbmc today, and got the error about the c compiler not being able to create executables. I did a search on the forum, and found something from 2004.None of the suggestions there worked for me. I can compile libraries, because I did a few for dependencies. The last thing I compiled with an executable was BloodFrontier, and it works perfectly.
I'm trying to do a ./configure on ntfs-3g, and I get this error that says "error: C compiler cannot create executables." I have gcc, g++ and everything installed, but I don't have build-essential. It's an offline server so I can't use apt-get to install it. I also can't find an RPM for CentOS. Is that what I need to resolve this? Or is this error caused by something else?
I'm trying to compile a program on Cygwin and it seems like as soon as I solve one problem, another pops up. This time, trying to run configure gets me an error message.
The relevant part of my config.log is included below:
I installed Cygwin with everything that was in the Devel folder, just to be on the safe side.
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executable See 'config.log' for more details.
This is error that I keep getting every time. Iam using fedora 10 version and I keep getting this error while i was trying to insatl madplay for vlc source code compilation. I have insatalled libmad .0.15.1,libid3tag.0.15, I got these codecs from [URL] and vlc sorce code is from [URL]. Config.log file details are:
hostname = localhost uname -m = i686 uname -r = 2.6.27.5-117.fc10.i686 uname -s = Linux uname -v = #1 SMP Tue Nov 18 12:19:59 EST 2008 ..... configure: exit 78
I'm looking to create a server (probably LAMP) i need all my programs to install at one time. SOME of my programs are not in the repos and all of them aren't .deb. Some of them are .rpm. I also can't guarentee internet connection, at least not during install, so no apt-get. on a note about the internet i'll probably be getting clear internet. I also plan to connect to the server from my phone and other computers. I know the server needs a static ip but what other configuration does it (should it) need.
what my intension is i want to cross complile vlc source code into arm9 mini 2440 target board for that i am compiling vlc source code in intel desktop pc which has fedora 10 version. so that in order to compile vlc source code we need to install following codecs those are libmad 0.15.1b,libid3tag-0.15.1b,madplay-0.15.1b,i got these codecs from h[URL] .and vlc sorce code from [URL]. i have successfully compiled libmad 0.15.1b and libid3tag-0.15.1b . those two are compiled in the following way [color] ./cofigure --prefix=/home/narendra/lib/ make make install [/color]
i was trying to compile madplay-0.15.1b in the following way
Code: ./configure --prefix=/home/narendra/madplay-0.15.1b CPPFLAGS="-I /home/narendra/lib/libmad-0.15.1b/include/" LDFLAGS="-L /home/narendra/lib/libid3tag-0.15.1b/lib/" after this command i keep getting this error message
I've got a problem installing application into my slack, when I was trying to configure the packages (./configure) in order to install them, the system shows me a message in which there was a problem with using gcc libraries.
When I try to install wxGTK SlackBuilds. I get this error: Code: ./src/aui/auibook.cpp: In member function 'size_t wxAuiNotebook::SetSelection(size_t)': ./src/aui/auibook.cpp:3482: internal compiler error: Segmentation fault Please submit a full bug report with preprocessed source if appropriate. See [URL] for instructions. make: *** [auidll_auibook.o] Error 1 I tried redownloading the wxGTK-3.8.9.tar.gz file and reinstalling it, I get the same error.
I haven't recompiled ny kernel in a while, but whenever I did it, it was all pretty easy. Make menuconfig; (adjust); make && make modules_install, and copy over bzImage in */arch/* and System.map to /boot and stick in new entry into grub menu.lst.However, this time, I must be missing something, because I get kernel panic on booting up to the new kernel. Is there a step I'm missing?Certainly, I was looking in /etc/rc.d and there is a rc.modules<kernelver> script in there. I wondered if I need make a new one ... although when I looked over it, it seem only to be required when forcing particular modules.
I downloaded Go-OpenOffice from SlackBuilds.org, but I can't build it. make terminates with configure error: checking for C compiler default output file name. configure: error: in `/tmp/SBo/ooo-build-3.1.1.5': configure: error: C compiler cannot create executables See `config.log' for more details.
(I can't find config.log anywhere) I use a quite 'light' installation (no xap, ap), and I suspect that I have some unmet dependencies, but the error message provides no information about what software is needed (I've installed all dependencies listed on SlackBuilds.org). I'm using Slackware64-13 with Xfce
So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?
I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.
When I mistype a name of an executable program in terminal, ubuntu tries to search for similar programs in packages and then suggests names. This takes time, slowing down work and entirely useless for me. How to turn this feature off?
I personally can't even find a reason for implementing this feature and rather making it turned on by default. If someone needs a tool, he/she can search through packages.
I have a 'bin' directory in my home that contains executables. For example: scandirs.sh.It's in my PATH, so I can just type 'scan{tab}{tab} to run it. But 'which scandirs.sh' returns nothing.
I have been trying to get Wine to work in Fedora and have had nothing but problems. First of all, I can't open executables in the GUI. If I try, I get a message that says, "The program start.exe has encountered a serious problem and needs to close."
I can open .exe's in the terminal, but when I tried to install iTunes it wasn't able to complete the installation. I got an error message from SELinux that said something about a memory error, and then it asked me if I wanted to turn off some sort of memory management setting. I said yes and it asked me for my password, which I gave, and then it said "unable to grant access". It no longer gives me this error message (that's why I can't recall what it said verbatim), and instead just hangs at the point where I got the error message before. I've tried using Wine in Ubuntu before and could never get anything working in a half-decent way, so this isn't a big surprise.
I'm wondering why in order to run executables after compilation i have to type >"./executableName" I want it to type it just like >"executableName" (with no "./")
I don't know if this matters but I'm using tcsh for my shell...
I just installed the xubuntu-desktop package on my netbook (running UNR), and I've got one major complaint about xfce.
I can't right-click on icons in the Applications menu and add them to the launcher!Instead I have to know the location of the executable for the application, so that I can right-click the panel, add a launcher, and then type the location of the executable in and manually select an icon for it...Of course it probably wouldn't be a pain if I could find everything. In Windows, if I want to know the location of a program that's running, I just open Task Manager, right-click the application, and select Properties.
Is there some equivalent or command-line way of finding the location of a running application in Linux?
A few I'd like to know the location of are: 1) Gnome System Monitor 2) Terminal 3) Swiftfox ... and I'll probably think of others.
Even though I'm using XFCE, I figured this fell under the "all variants" category since my main question is just how to find the locations of executables...
I want to install an executeable and I am not sure how to do this. My intuition was to copy the executeable in the /usr/bin folder, but when I call it now, it says permission denied (and obviously I don't want to call the program with sudo every time).
I want to launch other executable from my cpp code. I am aware that system() call may do this , But, problem is that , I want my cpp code to capture the standard hat "called" program is writing to stdout.
I have C/C++ source codes and the corresponding binaries in proj/src and proj/bin.I have `import`ed both directories into my svn project and then `checkout`ed both. Later I made changes to the source code and hence new executables, but I'm not able to `checkin` the executables back to the svn project.`svn status` ignores the executables in the proj/bin directory. What should I do to `checkin` executables?
(cross-posted in LQ>Forums>Linux>Software)I have Subversion 1.6.6 on Linux.I have C/C++ source codes and the corresponding binaries in proj/src and proj/bin.I have `import`ed both directories into my svn project and then `checkout`ed both. Later I made changes to the source code and hence new executables, but I'm not able to `checkin` the executables back to the svn project.`svn status` ignores the executables in the proj/bin directory. What should I do to `checkin` executables?
I am working on a custom hand-held device which runs a variant of Ubuntu Linux, 2.6.18. I have a set of 4 binary files (for oprofile) which have been known to run in this environment, but when I copy them to /usr/bin, I can't run them: I get this message;root@ldogberry:/usr/bin# ./ophelp-sh: ./ophelp: not foundThis happens when I specify the full path, when I run from the /usr/bin directory -- it happens no matter what. Bash even does command-line completion on the file -- and then turns around and instantly claims the file is not found.
After getting 11.4 up and running, I wanted to install some of the programmes I use.when ever I click on the executable file it tries to down load the thunderball game, and when i try Code:./setup it denies permission even as su.this happens on two different applications i am trying to install. (only two i have tried)
Have installed Wine - version 1.2.3-Oubuntu1-ppa2-maverick1(wine1.2) from the Ubuntu softwear center . Downloaded windows executable PAF5EnglishSetup.exe which is a Genealogy softwear program from a trusted source (familysearch.org) .
However , when i attempt to open with Wine Windows Program Loader i get the pop up window saying the file is not marked as executable then reference to "executable bit" . I then see the following:
"You should only mark a file as executable via the file permissions if you know what you are doing." I do not know what i am doing . Therefore , reluctant to go messing with something i am not familiar with but i really need this softwear installed .
Just trying to set up a new backup using tar, but there are a few things I dont want to include. Using --exclude I can exclude sub-directories, but how do I exclude specific files in a subdirectory that are (for instance) executables or have a specific extension?