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
[Code]...
View 6 Replies
ADVERTISEMENT
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
[code]....
View 1 Replies
View Related
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
Code:
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++2.8.1.3-glibc2.2
GNU C++ extension library - runtime version
p libstdc++2.10-glibc2.2
- The GNU stdc++ library
DEB1:/etc#
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
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:
[Code]....
View 2 Replies
View Related
Oct 29, 2010
I am trying to install a program called airfart and when I run make after cd'ing to the appropriate file i get this
Code:
g++ -g `pkg-config gtk+-2.0 --cflags` -o src/main.o -c src/main.cpp
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
[code]....
View 9 Replies
View Related
May 31, 2011
I'm using Slackware 13.37 x64 (upgraded to slackware-current) and I have trouble compiling mysql workbench 5.2.34.
The error is:
Code:
scintilla-marshal.c:2:25: fatal error: glib-object.h: No such file or directory
But I have that glib-object.h file:
Code:
$ locate glib-object.h
/usr/include/glib-2.0/glib-object.h
This is when I try to compile version 5.2.27:
Code:
./PlatGTK.cxx:13:21: fatal error: gdk/gdk.h: No such file or directory
Code:
$ locate gdk.h
/usr/include/gtk-1.2/gdk/gdk.h
/usr/include/gtk-2.0/gdk/gdk.h
View 12 Replies
View Related
Dec 9, 2010
whenever i am trying to compile a c++ program i am getting the following error sample.cpp:1: fatal error: iostream.h: No such file or directory compilation terminated
View 1 Replies
View Related
Oct 13, 2010
since the recent upgrade to Maverik every time I boot this error message appear on the top of the screen: "modprobe: Fatal: Could not load /lib/modules/2.6.35-22-generic/modules.dep: no such file or directory" fter that plymouth starts without any graphics and the first visible object is the login interface (GDM)
View 1 Replies
View Related
Jun 12, 2011
I'm trying to build a program called Obpager, but I'm getting an error saying I don't have xlib.h. From what I understand, that file is included in libx11-dev, which I have installed. Any idea?
Code:
dagoss@MAGIC-PORT:~/Downloads/obpager-1.8$ make
Compiling src/main.cc
In file included from src/main.cc:33:0:
[code]....
View 2 Replies
View Related
Oct 2, 2010
I have updated to ubuntu 10.10, but when I try to compile chromium on ubuntu, I get this error:
Code:
In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:28,
from /usr/include/gtk-2.0/gdk/gdk.h:33,
from app/active_window_watcher_x.cc:6:
/usr/include/gtk-2.0/gdk/gdkpixbuf.h:37: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
What I don't understand is why gtk-2.0/gdk/gdkpixbuf.h complains that gdkpixbuf/gdk-pixbuf.h is not found. And how can I fix it?
View 7 Replies
View Related
Mar 11, 2010
Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"
-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:
[Code]....
View 1 Replies
View Related
Apr 14, 2011
Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.
When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.
View 9 Replies
View Related
Mar 6, 2011
I want set up VPN on my VPS but when i try to turn on tun/tap i see:
:/lib/modules# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory
os : debian 5
(folder lib/modules is empty)
View 1 Replies
View Related
Mar 4, 2011
Im sure that this issue is pretty old and you get some results from forums when you google it, but I cant seem to find the solution : When I boot my system ( its duel boot , win7 / Slackware 13.1 ) the message : L 99 99 99 pops up. I know this has to do with the MBR, When I looked online this is what people were told to do:
[Code]///
View 6 Replies
View Related
May 24, 2010
I'm runing FC11 and have compiled the vanilla kernel 2.6.33.4 to support Dazuko. It has broken my NFSD server in the process, and I can't figure out why. I get these errors on boot. FATAL: Module nfsd not found. FATAL: Error running install command for nfsd
[code]....
View 2 Replies
View Related
Jun 2, 2010
My USB stick is this one: [URL] I can't get it to scan my frequencies. PC finds the stick (lsusb):
Code:
Bus 002 Device 005: ID 15a4:9016 Afatech Technologies, Inc. AF9015 DVB-T USB2.0 stick When I plug it in, dmesg shows this:
Code:
[ 5680.696043] usb 2-2: new high speed USB device using ehci_hcd and address 7
[ 5680.834917] usb 2-2: configuration #1 chosen from 1 choice
[ 5680.849872] af9015: tuner id:179 not supported, please report!
[ 5680.852951] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7
[code]....
But if the directory is created, then after the same command I have
Code:
scanning /usr/share/dvb/dvb-t/lv-Riga
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2273: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 19 No such device
I found on the internet a firmware for my USB HDTV DVB-T stick named "dvb-usb-af9015.fw" and copied it into /lib/firmware/ but I have not seen any difference with that.
View 1 Replies
View Related
Feb 11, 2010
i have ubuntu karmic 9.10 and when i try to update anything or install anything the a very similar error occurs."(Reading database . . . 55%dpkg: unrecoverable fatal error , aborting: files list file for package `com.palm.net.precoddr.fcoaster' contains empty filenameit repeats this message 3 times then gives up i believe.
View 9 Replies
View Related
Mar 2, 2011
i was trying to Compile my c++ program..cme across this problem....but my c programs are getting compilied without any problem.I am using fedora 14. Below is the way terminal reacted to my program..
gcc prog1.cpp gcc: error trying to exec 'cc1plus': execvp: No such file or directory
View 4 Replies
View Related
Jun 10, 2010
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
View 5 Replies
View Related
Sep 6, 2009
This morning when attempting to upgrade (aptitude update; followed by aptitude safe-upgrade) my system I started receiving the following error:
Preconfiguring packages ...
(Reading database ... dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package `apache2-doc': Stale NFS file handle
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
It doesn't seem to matter what repository I use or what particular package that I attempt to upgrade (all or just a single package). (In particular, apache2-doc is not even a package being upgraded, although it is installed on the system.) I have rebooted, run apt-get clean, run apt-get check, etc. to no avail. I am running a standard Debian (5.0.2/Lenny) desktop PC and am not running any NFS processes, client or server.
View 5 Replies
View Related
Jan 16, 2011
Recently I have downloaded TBB and I want to run a program using its libraries. But I encountered the following error: Linker: fatal error LNK1104: cannot open file 'tbb_debug.lib'
View 1 Replies
View Related
May 11, 2011
I upgraded postfix to 2.8 today after the security bulletin from the list.
now I get the following error:
'postfix/local[2442]: fatal: unable to determine open file limit'
I can receive/send mail, it just wont let me deliver locally
uname output: 2.6.37-1-686 #1 SMP Tue Feb 15 18:21:50 UTC 2011 i686 GNU/Linux
View 2 Replies
View Related
Jul 21, 2011
If I type su, it gives me following error su: No such file or directory
View 5 Replies
View Related
Jun 30, 2010
I copied g95 executable under /usr/bin which is clearly in my PATH. When I type g95, it says "bash: /home/username/bin/g95: No such file or directory". Why doesn't it look for somewhere else that is in my PATH?
View 5 Replies
View Related
Feb 2, 2011
I have downloaded the latest gnome commander source code from the gnome commander home page. Following the instructions in the readme I have extracted it from the tar ball and changed to the top level directory of the source code. I execute ./configure and get a bunch of "checking" results.
Quote:
bash: ./configure: No such file or directory
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9/src$ cd ..
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9$ ./configure
[code]....
I find Makefile.am and Makefile.in present in the directory. I generally install from deb packages. Still, I don't think it should be this hard to compile a package given the seemingly simple directions provided.
View 4 Replies
View Related
Jul 15, 2011
i have this make file in order to generate hello.exe.compiled with visuel c++.
Code:
#include <iostream>
using namespace std;
[code]....
View 4 Replies
View Related
Aug 1, 2011
I am trying to compile the code. I am getting this following error. Am I missing any package?
x86_screen.h:12:22: error: X11/Xlib.h: No such file or directory
In file included from osal_event.c:12:
x86_screen.h:25: error: expected specifier-qualifier-list before �Display�
make[1]: *** [osal_event.o] Error 1
View 5 Replies
View Related
Sep 30, 2010
I am migrating an application from HP-UX to Redhat Linux and I have some files of scripts. In one of the script files I have the line /pylive/smartPAY/spserver/scripts/sp.con which is the correct path and file name for an existing file. However I get the message "No such File or Directory/pylive/smartPAY/spserver/scripts/sp.con" The script worked fine in HP-UX, why not in Redhat Linux?
View 6 Replies
View Related
Jul 29, 2010
I am new to linux platform and my requirment is to write a makfile which can compile a tree for source file and create the output in separate directory .
View 1 Replies
View Related
Sep 18, 2010
When testing my script for a question, I find that when I execute the expanded commands, I get no error message, but when I source the file with the command, I get 'No such file or directory'. Here is what I mean:
[code]...
View 7 Replies
View Related