Programming :: Lost Gcc .bash_profile Paths - Error: "stdio.h: No Such File Or Directory Gcc Was Installed And Configured Correctly"

May 5, 2010

I tried compiling a simple Hello World with gcc but didn't have any luck. I got this message: Code: junk.c:1:19: error: stdio.h: No such file or directory gcc was installed and configured correctly at one point but I think I changed the the .bash_profile since then. I checked where stdio.h lives. The path is:


View 2 Replies


General :: Cmem.c:38:19: Error: Stdio.h: No Such File Or Directory

Aug 10, 2010

I am trying to compile a memory map module cmem.ko from TI codec tools. This is for the DSPlink software development for the OMAP3530. I am compiling this on the host(Ubuntu). First error could not find cc1 and i re-installed gcc and added it to the path. That fixed that error but then I get to this:

cmem.c:38:19: error: stdio.h: No such file or directory
cmem.c:39:20: error: unistd.h: No such file or directory
cmem.c:40:22: error: sys/mman.h: No such file or directory


View 1 Replies View Related

General :: Can't Compile Gcc - Fatal Error: Stdio.h: No Such File Or Directory

Feb 19, 2011

I am trying to upgrade my NAS with anew toolchain, gcc-4.5.2. The NAS have been "hacked" fonz_plug, that contain a gcc version 4.1.3 with uClibc. I have download all needed tar files and done the following.My goal is to upgrade the gcc to 4.5.2 and replace the ucLibc on the system with a GNU libc.

# Pass one
# binutils
./configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --with-gmp=/ffp --with-mpfr=/ffp
But when I try to compile the gcc with
../configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --enable-__cxa_atexit --with-float=soft --enable-languages=c,c++ --with-build-sysroot=/ffp --with-build-time-tools=/ffp/bin --with-system-zlib --enable-threads=posix --disable-bootstrap


View 6 Replies View Related

Debian Programming :: No Such File Or Directory But Installed

May 13, 2014

I'm trying to compile a project, but I receive the following error:

Code: Select allIn file included from monitor/gfx/field.h:14,
                 from monitor/gfx/termapi.h:18,
                 from monitor/gfx/termapi.cpp:16:
monitor/gfx/glfont.h:8:31: error: GL/gl.h: No such file or directory
monitor/gfx/glfont.h:9:33: error: GL/glu.h: No such file or directory
monitor/gfx/termapi.cpp:20:30: error: GL/glx.h: No such file or directory


I don't know what to do to get pass this.

View 14 Replies View Related

Programming :: Error: Gtk/gtk.h: No Such File Or Directory

Feb 13, 2011

gcc kk.c : kk.c:1: fatal error: gtk/gtk.h: No such file or directory compilation terminated.

View 1 Replies View Related

Programming :: Error: Sys/timerfd.h: No Such File Or Directory

Mar 8, 2011

In my project iam using timerfd.h file info. I included it header file, Iam using "arm-none-linux-gnueabi-gcc" compiler. This file exists in "arm-2010q1/arm-none-linux-gnueabi/libc/usr/include/sys". When i try to execute the program iam getting error: sys/timerfd.h: No such file or directory. remaining files able to find from the same location(sys/time.h, sys/ioctl.h,sys/socket.h).

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <signal.h>


View 1 Replies View Related

Ubuntu :: 10.04 - KDE Not Installed Correctly (Error Message)

May 24, 2011

I've been creating a website of late, and I've decided that I've come far enough along to get actual web development software (though gedit has served well). In Gnome, I have Bluefish, which is alright, but I also wanted something for KDE, since I also have Kubuntu 10.04 installed. I did some reading, and decided to see what all the fuss about Quanta Plus was about. I download the tar file, extract it, but when I run ./configure, it goes through a couple of steps and everything seems to be checking out okay.

Then I get an error message that says I am missing kde-config, and that I should check my KDE installation. I didn't do anything abnormal during the Kubuntu installation, so I can't imagine what I could do to check that installation. So then I go tot the INSTALL file, and try the alternative installation ./configure method, and I get an error message that says the the C compiler can't output an executable.

View 2 Replies View Related

Ubuntu :: Error "Python.h: No Such File Or Directory" Yet Have Installed Python2.6-dev

Mar 3, 2010

I'm trying to extend Python with C but when I compile this message is displayed:


I have already installed python2.6-dev and I have Python.h in the dyrectory /usr/include/python2.6/Python.h.

View 2 Replies View Related

Programming :: System() Routine Returns: Access: Unix Error (2) No Such File Or Directory

Oct 23, 2010

I am running shell command through C program using system() routine.

I am executing "opcontrol --status" an executable using the this routine and I get the following error. access: unix error (2) No such file or directory

But when I give the complete path to the executable it runs perfectly.

The executable is installed in "/usr/local/bin/" And the path variable has this path.

View 1 Replies View Related

Software :: Stdio.h - File Missing During GCC Compile

Mar 3, 2011

I have looked at the other threads and found nothing which pertains to my issue. I am using an older version of Debian 4.0 I cannot upgrade until I have a 2nd server running. I lost the 4.0 installation disks. During an apt-get install i did, I foolishly changed sources.list to other sources on the net which changed dependencies and removed needed packages, such as perlmagick, Crypt-SSLeay, aptitude, and possibly the glibc - ( my current glibc was changed to glic6). Since I have found my original 4.0 disk. restored the sources.list. ran an update. and restored many of the packages that were removed. (a big lesson to me I will never do that again)

Here is a simple program:
#include <stdio.h>
When I run a gcc or I use cc compile
I get this message: "stdio.h": No such file or directory found.
Yes I know I missing the file stdio.h. I have looked
in /usr/include /usr/lib nothing.

Apparently during my mistake the system installed the glibc6 and removed the "stdio.h" file and other dependencies. I would like to get back to where as was in terms of the glibc version I had. Aptitude currently shows the following packages that are available to me

DEB1:/etc# aptitude search glibc
v glibc-2.3.6-2 -
v glibc-2.3.6.ds1-1 -
p glibc-doc
- GNU C Library: Documentation
v glibc-pic
p libg++
GNU C++ extension library - runtime version
p libstdc++2.10-glibc2.2
- The GNU stdc++ library

The question is which one should I install, to get my "stdio.h" back again? Would I have to uninstall glibc6 first? Uninstalling glibc6 displays a big warning. Is there a way I can download just the "stdio.h" files?

View 5 Replies View Related

Red Hat / Fedora :: Dhcp Failed - Error "rpm Package Is Also Installed - Dhcpd.conf File Is Also In /etc Directory"

Feb 10, 2010

i have installed dhcp server on RHEL5.after instalation when i want to restart shows failed message. rpm package is also installed.(dhcp-3.0.5-13.el5) dhcpd.conf file is also in /etc directory

View 1 Replies View Related

Ubuntu :: Sound Output Not Configured Correctly?

May 21, 2011

I have one 3.5mm jack going from the back of my desktop motherboard to my monitor that has speakers. My case also has a 3.5mm jack for headphones.If I plug in the headphones, I will hear audio from both the monitor speakers and the headphones. If I go into the Gnome sound preferences and change the output connector from Analog Output to Analog's the same thing.My preference would be to have the monitor audio muted automatically whenever I plug in the headphones. I've searched other threads and can't seem to come up with a working solution.I've messed around in alsamixer and still no luck

View 1 Replies View Related

Programming :: Re-mapping Stdio For A Fork'd/exec'd Executable Doesn't Seem To Behave

Jan 27, 2011

I have a monitoring program ( GIT link to sourceforge ) which I'm trying to use to track when a child exits/dies/whatever. I'm calling fork(), then close for 0,1,2, and then opening /dev/null, monitored.stdout, and monitored.stderr as a replacement. I'm not sure if I've done something incorrect (perhaps I should use dup2 for explicit assignment?) but it appears that printf() messages are just being blackholed. I've tried setting the line buffering as a last ditch effort. On a different system, using code similar to the spawn_monitor() function, this appears to work fine, which makes me think I'm relying on some implementation specific detail.

Relevant function, for those who don't click links:


26 int spawn_monitored(char *argv[])
27 {
28 int exit = 0;
29 pid_t child;
30 const struct rlimit inf = {


View 14 Replies View Related

Fedora Installation :: GXine Video Player Configured Correctly But Not Working

Aug 10, 2010

Just installed the LXDE spin of 13 onto my acer aspire netbook. Couldn't make a usb boot stick, finally succeeded with an external card reader and unetbootin. Anyway, GXine isn't working, though it says its configured correctly. I'm very new to fedora and linux in general, played a bit with ubuntu 9.10.

View 4 Replies View Related

General :: Run The Script From A Different Directory The Paths Are Not Read?

Nov 29, 2010

I have written a script which reads a text file and takes out absolute and relative paths embedded in the text file.Then the script looks for a string in some text files mentioned in those paths. The problem I am facing is that since these paths are from my working directory,if I try to run the script from a different directory the paths are not read.

View 7 Replies View Related

Programming :: Libmysqlclient Error " Cannot Open Shared Object File: No Such File Or Directory" On Ubuntu 9.10

Apr 1, 2010

I am currently using Ubuntu 9.10. I am writing a small code in C which test the connectivity with MYSQL. I am getting this error. " cannot open shared object file: No such file or directory" What I understand is that you need MYSQL development package in order to access MYSQL database in C. I installed MYSQL using this command. apt-get install mysql-server mysql-client

View 2 Replies View Related

Programming :: Parse The File Correctly With Python

Nov 27, 2010

I'm currently curios with my python program which the basic goal is to parse the character in mytestfile;let's see the code



View 3 Replies View Related

Programming :: Perl - Directories Given To Opendir Via Foreach Give "No Such File Or Directory" Error

Feb 19, 2009

I'm writing a perl script to remove a test database and part of that is of course getting rid of all files. So I wrote this to do the job:


This always results in an "Could not open /u00/app/oracle/product/10.2.0/rdbms/dbs for reading: No such file or directory" (that directory is the one ending with the $spfile_dir variable) message, although that directory exists and the executing user has writing rights on it.

The same behaviour if I create the directory array like this:


The problem does not occur when one of the directories is the only element in the array though. Of course I could copy and paste that part of the script for the second directory, but I don't like that workaround.

View 1 Replies View Related

Programming :: Error: Dbus/dbus-protocol.h: No Such File Or Directory

Jan 24, 2011

do have installed glib and dbus and can find them manually , /usr/include/glib-2.0/glib.h , but while comipling applicaiton it gives following error messages.

/usr/include/libosso.h:32:18: error: glib.h: No such file or directory
/usr/include/libosso.h:38:23: error: dbus/dbus.h: No such file or directory
/usr/include/libosso.h:39:32: error: dbus/dbus-protocol.h: No such file or directory

View 1 Replies View Related

Programming :: "No Such File Or Directory" Error

Jun 23, 2010

When I go to #include vital GTK header files this way:

#include <glib.h>
#include <glib/gtypes.h>
#include <gtk/gtk.h>

I get the dreaded "No such file or directory" error, even *WITH* the files installed. Why? Are there any variables I have to set or something?

View 5 Replies View Related

General :: Bash_profile [ Unexpected End Of The File ]?

May 18, 2011

I'm trying to edit the bash_profile but I'm getting this error."/.bash_profile: line 46: syntax error: unexpected end of the file"Here is my bash_profile.

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then


View 3 Replies View Related

Ubuntu :: Error Message Says "configuration Defaults For GNOME Power Manager Has Not Been Installed Correctly"

Aug 18, 2011

error message says "configuration defaults for GNOME power manager has not been installed correctly";however, my laptop was working fine this morning. Now it does not even let me sign-in. I was attempting to install a back-up software using the "Accessories" button icon and the computer stopped working. Now it won't let me even sign-in.I use Ubuntu 10.04 and had done an update successfully (or so I thought), but what do I do now?

This message is coming to you from my desktop computer while the problem exists on the Dell laptop. Its model number is Inspiron 9300.

View 2 Replies View Related

Software :: Error - Mkdir: Cannot Create Directory `/dev/cgroup/cpu/user/5900': No Such File Or Directory

Jun 21, 2011

I get the following error whenever I launch bash:

mkdir: cannot create directory `/dev/cgroup/cpu/user/5900': No such file or directory
bash: /dev/cgroup/cpu/user/5900/tasks: No such file or directory
bash: /dev/cgroup/cpu/user/5900/notify_on_release: No such file or directory
It seems like it's probably from this part of .bashrc:


What does this code do, why, and what's causing it to go wrong?

View 7 Replies View Related

Programming :: Set Different Paths In Makefile?

Oct 8, 2010

at present I compile the same code for different systems (cross compilers)I need to call libs and include paths for the different processors. At present I simply comment out the paths not needed

#INCDIR = -I/cross1/.......
#INCDIR = -I/cross2/.......


View 2 Replies View Related

Software :: IRAF 2.15 Installed - No Such File Or Directory

Dec 6, 2010

I am new to Linux, I have just understood the very basics of the command line and the file system, but I am still having practical problems: Here is the biggest so far: I just installed IRAF (An Astronomical Image editing sofware) and even though it prompted me with "Successfully installed", when I want to run the application it gives me this error:

/iraf/iraf/bin.linux64/ecl.e: error while loading shared libraries: cannot open shared object file: No such file or directory
Looking around in the internet I saw some users had proposed a symbolic link to since it seems ncurses has replaced termcap. But even though I made this link:

$ls -l
lrwxrwxrwx. 1 root root 17 Dec 6 11:04 ->
I still get the same error.
I made the same symbolic link, named in both my /usr/lib/ and /lib/ directories to the /lib/ since some users had mentioned /usr/lib/ and some /lib/.

I am running Fedora 14 (64bit) on my system and this version of IRAF 2.15 is made for 64bit systems.

View 3 Replies View Related

Programming :: Using An Array In Bash For Mutiple Paths?

Mar 29, 2011

I'm trying my hand at arrays in bash for a backup script. Now I not sure if this is the correct thing to do and just look at website and amended but does'nt work. Could someone tell me where I'm going wrong



View 8 Replies View Related

Programming :: Compare Two Filenames Including The Paths?

Jun 22, 2011

I am trying to compare two filenames including the paths. Basically if two paths are similar then my program wants to display message. So I need to check for if two pathnames are same in the sorce and destination. So I was trying for the code to compare tow filename sincluding "" and if the Parent FIle Path is found in the child file path then I need to displays ome message. I was trying to modify something like this:

# Sample script


View 7 Replies View Related

General :: Rpm - Overriding Installed File / Directory Permissions & Owners?

Jun 29, 2010

Every time I update certain packages with rpm/yum, they reset certain permissions on their files / directories which I have intentionally changed for various reasons. Is there a way I can override the permissions that the packagers have specified in the RPMs, and force it to keep the permissions/owner/group that I've set?On a Debian system, I would just use "dpkg-statoverride". I can't find any equivalent for RPM systems (CentOS 4 & 5 in my case).

View 1 Replies View Related

General :: Standard File Paths?

Aug 23, 2010

Is there some sort of standards file path convention for installing softwares that I could follow through? For example, I just learnt how to build Nginx from source. But the default binary path set by nginx is "/usr/local/nginx/sbin". I have seen a couple of tutorials which they specify the location of the installed binary and it is very different from those usual default paths. Thus, got me thinking whether is there some form of file path convention that I should follow?Is there some kind of list which states where do those packages on Repository usually installed to?

View 6 Replies View Related

OpenSUSE Install :: Install Error - Config Defaults For GNOME For GNOME Power Manager Have Not Been Installed Correctly

Mar 4, 2010

Things were running fine until GNOME misbehaved;

GNOME failed to load telling me:

Install error, Configuration defaults for GNOME power manager have not been installed correctly.

So I


To the shell and check the logs in gdm and find this:

Could not ask power manager if user can suspend, launch helper exited with unknown return code 0.

So I try


To see if another user will get the desktop; I get the error

Cant create etc/passwd no space left on device.

So I


And get the following

I insert a usb drive to prepare for back up; Run


On the shell to get the usb device name; Then run


To mount the device.

I end up with:

Cant create lock file /etc/mtab~ 4610 No space left on device(use -n flag to override)

So, I


And see 9 partitionitions


Again to check which ones are loaded at boot up time and get

plus some other file systems mounted at boot up, but not mapping to any physical partitionition.

I try


On partition9 and get warnings because its mounted, so I chicken out and try


And run into the error:

cant create lock file /etc/mtab~4832 no space left on device (use -n flag to override)

Good thing is there is a


Since space is a problem, I


On partition6 which is not mounted at boot up time and try to


I still get the error

cant create lock file /etc/mtab~4735 no space left on device (use -n flag to override


For package update tells me

cant open /var/run/ in mode w


For power management tells me its not even recognised as a command.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved