Ubuntu :: Can't Compile Anything Using Gcc
Mar 27, 2011
I suddenly can't compile anything using gcc - it just stalls (even with a basic Hello World program). I'm very stumped by this in terms of what might be wrong or how to go about finding out, so the best I can do for the minute is post the trace output (attached) and ask for some pointers.
View 1 Replies
ADVERTISEMENT
Mar 19, 2010
I wanted to try installing the Metisse window manager, and it depends on Nucleo. I got Nucleo from the AUR, but it fails to compile:
Code:
PNGenc.cxx: In function �void nucleo::png_memory_write_data(png_struct*, png_byte*, png_size_t)�:
PNGenc.cxx:38: warning: �png_struct_def::io_ptr� is deprecated (declared at /usr/include/libpng14/png.h:1125)
PNGenc.cxx:38: warning: �png_struct_def::io_ptr� is deprecated (declared at /usr/include/libpng14/png.h:1125)
PNGenc.cxx: In function �void nucleo::png_memory_read_data(png_struct*, png_byte*, [Code].....
View 14 Replies
View Related
Jul 20, 2010
I too have one of those nagging "stdio.h file or directory not found" things when I try to compile with gcc.
I do the following:
gcc hello.c
which gives:
hello.c:1:20: error: stdio.h: No such file or directory
hello.c: In function 'main':
[Code]...
View 6 Replies
View Related
Oct 12, 2010
I want to learn how to compile vim from the sources, because there are some additions that I want to add, and learn how to deal with this situations, but until now I didn't have success doing it, I can compile vim, but without its GUI I think it's a dependencies problem, but I can't figure out which packages I have to install, what are the dependencies to compile vim with its gui? how to compile gvim, but I don't have the packages for install in my ubuntu 10.10 repositories.
View 1 Replies
View Related
Nov 14, 2010
this may be the wrong forum but how do i compile a .DEB from a tarball? and give me full step by step instructions preferebly for checkinstall since im not gonna distribute anything. none of that
"./configure make sudo checkinstall" crap plz cuz i dont understand it i rly wanna switch from win 7 completely but ill need ur guyz help or im stuck with it T-T.
View 9 Replies
View Related
Jan 4, 2010
I can't compile a C program form terminal using gcc by Code Blocks 8.02 is able to do so.
Code:
#include<stdio.h>
int main(void)
{
printf("Hello World
[Code]....
View 9 Replies
View Related
Feb 24, 2010
I have been using Ubuntu 9.10 Karmic for abt 3 months now. I wanted to know how do i complie tar.gz files.
View 4 Replies
View Related
Apr 19, 2010
I've been using ubuntu for the past year now but unfortunately I have to confess I never had to compile anything from scratch. I bought a new intel SSD drive and I've been running some benchmarks on it with various fs. The new hdparm version has a few features that I'd like to test (TRIM/wiper) but I don't know how to install it as it's not in the repositories. I've been googling for almost 4hrs now but I still haven't found a way to do it.
I've downloaded the tar.gz file from sourceforge and I've decompressed it. Inside, it was a debian folder but there was no .deb file in it. Anyway I did a "make hdparm" and it compiled with no errors. It gave me an "hdparm" executable which works fine if I call it with the full path. what's the proper way to install it in place of the already apt-get installed package?
View 2 Replies
View Related
Aug 14, 2010
I'm trying to compile GNU chess from the website, and I get this for the output:
[Code]...
View 2 Replies
View Related
Sep 1, 2010
I've installed babl and gegl and I've already successfully ran ./configure for Gimp 2.7.1
However, when attempting to make, I get this:
Code:
...
CC gimpcolorbutton.lo
CC gimpcolordisplay.lo
CC gimpcolordisplaystack.lo
[Code].....
View 2 Replies
View Related
Oct 22, 2010
I just did a fresh install of Ubuntu 10.10 and i thought I'll just compile the latest version of conky.
So i did:
Code:
./configure --prefix=/usr --enable-audacious=yes --enable-iostats --enable-curl --enable-rss --enable-weather-metar --enable-weather-xoap --enable-imlib2 --enable-lua-imlib2 --enable-lua --enable-lua-cairo --enable-wlan All good. I finally install everything and manage to get configure to finish but once I type make it exists in the middle.
Code:
[...]
mv -f .deps/conky-ccurl_thread.Tpo .deps/conky-ccurl_thread.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE="/usr/etc/conky/conky.conf" -DPACKAGE_LIBDIR="/usr/lib/conky" -pthread -[code]....
View 1 Replies
View Related
Oct 24, 2010
i recently downloaded the Cinelerra Software(not Community version)from [URL].php#download but the problem is : how to compile it.
note : i have ubuntu 10.10
View 5 Replies
View Related
Dec 10, 2010
I am trying to install v4l on my ubuntu 10.10 and kernel 2.6.35-22 and i get this
Code:
make -C /home/saeed/dvb/v4l-dvb/v4l
make[1]: Entering directory `/home/saeed/dvb/v4l-dvb/v4l'
creating symbolic links...
[Code].....
View 3 Replies
View Related
Jan 19, 2011
I'm slowly getting used to the terminal and some of the basic commands i can use, and when to use them. When i was first introduced to ubuntu about 3 months ago i had no idea of the learning curve i was about to embark on, now it has brought me here which was probably inevitable anyway. I have a vps from vpsland it runs ubuntu 10.04 and should hopefully run my private server with ease, which brings me to my topic.
I have my private server source which goes onto my vps to host the server, it contains a few .bat files which i need to convert into !bash so i can run the source on the vps and then direct the client ip to my vps so it goes public. Inside the source there are 3 main files bin, cmd and src. Some of the .bat files we need to !bash and set as executables are in cmd, so lets take a look at one.
[Code]....
View 4 Replies
View Related
Apr 20, 2011
im writing from ubuntu i have made a c program and im wondering how can i compile it for being able to run on mac
View 2 Replies
View Related
Jul 18, 2011
I followed the steps from the this website [URL]..but after I run: sudo make I got this output:
[Code]...
View 2 Replies
View Related
Aug 13, 2011
I need to downgrade my firefox from 5 to 3.6 I downloade the tar.bz2 file but after I extracted and cd to the file I got these errors when trying to install code...
View 1 Replies
View Related
Sep 1, 2011
I had some trouble getting Apache2 and Tomcat7 to work together with mod_jk so I decided to wipe out tomcat and mod_jk and start all over with the newest versions.
I downloaded tomcat 7.0.20 and tomcat-connectors-1.2.32-src.tar.gz and uncompressed both. (tomcat is now installed in /etc/tomcat7 and runs fine on port 8080).
Then I tried to compile mod_jk from jeg source:
cd into native
./configure
fails with no apache given no netscape given configure: error: Cannot find the WebServer ./configure --with-apxs2=/usr/sbin/apxs2 gives the same result (after installing apache-threaded-dev with apt-get install)
I used to simply download the binary for linux from the apache website but they have chosen to stop compiling for *NIX systems
View 1 Replies
View Related
Oct 9, 2010
i got a beagleboard which has an ARM processor. rather the compiling my programs from the beagleboard itself, i'd like to use my beefy AMD64 desktop to plow through compilation.how to do a cross compile, or at least set gcc up so that i can do a cross compile. i'm running Ubuntu 10.04 with gcc 4.4.3 when i run: gcc -b arm to tell gcc to compile for arm, it says: gcc: error trying to exec 'arm-gcc-4.4.3': execvp: No such file or directory
View 3 Replies
View Related
Jan 24, 2010
Following is the IDL program found on the internet but i dont know how to compile and execute (even dont know can it be done under linux).
Code:
View 9 Replies
View Related
Feb 3, 2010
I've used linux for a quite a while and have compiled a small number of applications from source for one reason or another, however this on has me stumped. The program is vfdecrypt which if you are unaware is used to decrypt (among other things) .dmg files such as those found on apple hardware. Here are the relevant definitions:
Code:
typedef struct {
unsigned char sig[8];
uint32_t version;
uint32_t blocksize;
[Code]...
Surrounding lines use %llu for 64 bit numbers, so I'm assuming %lu is correct for 32bit, at least for the gcc they compiled with. Removing the line, since it is only user output, causes the program to hang on load and not show any output at all. I also tried compiling with -fno-builtin-fprintf thinking maybe my gcc was radically different than theirs and was doing something funky, and it did compile w/o errors, however it went back to not showing any output.
I have fetched the source from muliple sites in order to check the consistancy of this line and every version has it exactly as shown, so I'm thinking that the gcc ubuntu 9.04 ships with might not be a similar enough fork to the one used by the dev of this code.
View 2 Replies
View Related
Feb 24, 2010
I want to compile a custom kernel, because I need a path for a device. Here is what I've done:
Code:
$ cd /media/work/temp/
$ apt-get build-dep --no-install-recommends linux-image-$(uname -r)
$ apt-get source linux-image-$(uname -r)
$ cd linux-2.6.31
[Code].....
View 1 Replies
View Related
Apr 2, 2010
I'm trying to compile Rakarrack at my PC, following those instructions.
[URL]
When I try to run "./configure" it says file not found.
I did run a bunch of sudo apt-get install for all of the dependencies, but didn't check if they were all there.
That's what comes out when I run ./autogen.sh
Code:
Generating build scripts, this might take a while.
aclocal./autogen.sh: 36: aclocal: not found
autoheader./autogen.sh: 37: autoheader: not found
[Code]....
View 4 Replies
View Related
Apr 7, 2010
Ok my friend just got me started on lennox and i'm having two issues.
1st issue) I'm trying to compile the new Wesnoth but its asking for a cd rom drive when i type the sudo code. Me being on a netbook i don't have a cd drive. Is there anyway around that?
2nd issue) I have the Netbook remix lay out with the overlays but i'd like to to have the standard one my friends have. How would i go about that.
View 6 Replies
View Related
Apr 13, 2010
The Gosalia Enterprise and we are in the midst of creating a Linux Distribution.
I have been set the task of creating Wubi-like application for our ISO (Ubuntu9.10-based) but I don't know how to, so I came here to ask.
How can I compile WUBI for our ISO of Gosalia? Also, how can i create an ISO of Gosalia, we know that we can use Remastersys, but what is the PROFESSIONAL way of doing it?
View 3 Replies
View Related
Apr 13, 2010
Has anyone successfully compiled Symantec AV Autoprotect against the current Ubuntu Kernel?
I am using the kernel 2.6.24-27-generic. I'm following these instructions for Symantec Autoprotect: http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2009081214270148
and when I run the "build.sh" I receive the error message code...
Is there another option or really what am I doing wrong?
View 2 Replies
View Related
May 13, 2010
I've downloaded Bind source and I need to compile it for my Synology NAS, but my Ubuntu is 64b and I need it in 32b. Any way to pull it off?
View 1 Replies
View Related
Jun 22, 2010
I'm trying to compile fluxconf from source (here). It's a graphical ui for setting up the menus in fluxbox. I've got all the libraries, but when I compile it says:
Code:
cc1: warnings being treated as errors
fluxconf.c: In function sauver:
fluxconf.c:244: error: format not a string literal and no format arguments
fluxconf.c:187: error: ignoring return value of write, declared with attribute warn_unused_result
[code]....
that doesn't look like a dependency issue and other people seem to be able to compile/make this just fine with no problems. How can I get this to compile?
View 1 Replies
View Related
Aug 23, 2010
how-to compile from source; based on this post [URL]with some new hints and modified patches. This works on Ubuntu (Gnome version) without the official repository version of Amarok installed.
INSTALL DEPENDENCIES
Code:
sudo apt-get install libgpod-common libgpod-dev libgpod4 kdelibs4-dev libxine-dev libdbus-qt-1-dev libtag1-dev libsqlite3-dev libtunepimp-dev libmysqlclient15-dev libpq-dev libvisual-0.4-dev libsdl1.2-dev libifp-dev libxine1 libxine1-ffmpeg build-essential checkinstall ruby ruby-dev libruby libltdl-dev
[code]...
Quote:
under Amarok - Configure Amarok - Appareance - Download theme, then search for 3Dintegrity
View 9 Replies
View Related
Aug 30, 2010
I sometimes do heavy compile jobs, which may take a while. Now I don't like leaving my computer idle just because I'm compiling something. Folding@Home adjusts it's CPU usage if your using another application, so I can run firefox and do whatever I want while running F@H. How can I do this with compile jobs? Is it possible?
View 2 Replies
View Related