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

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


ADVERTISEMENT

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 View Related

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

[code]....

View 1 Replies View Related

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:

[Code]....

View 2 Replies View Related

Slackware :: Got A Compile Error Which Says That 'javac' Is Missing

May 7, 2011

do this slackbuild require the JDK package?

I've got a compile error which says that 'javac' is missing.. this file seems to be only in the JDK package (and not in the JRE).

Do it's correct? No problem to install the JDK ..

View 4 Replies View Related

Debian :: New Kernel Source Compile Missing Firmware

Dec 21, 2015

So I am new to linux and i upgraded my kernel to 4.3.3 and to add the bfq patch. When i enter the command make install I get the following Code:

Select allupdate-initramfs: Generating /boot/initrd.img-4.3.3
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169

[Code] ....

Now my ethernet drivers are not working.

View 8 Replies View Related

Software :: Compile Zabbix But Can't Because Missing Components - With-jabber Failed

Feb 16, 2010

I am trying to compile Zabbix on Centos 5.4 and while tying to compile it with mysql and some other parameters it gets failed because missing components.

Quote:

I couldn't find any jabber-devel or jabber pckg in repo.

View 3 Replies View Related

Debian Configuration :: Ethernet Card Missing/Compile Latest Kernel?

Dec 17, 2010

This may sound ridiculous, but after installing Debian 5 (from CD 1) in my laptop, ASUS UL80VT, it fails to detect the Ethernet device. The device is "Atheros AR8131 PCI-E Ethernet Controller". I guess the problem comes with the old kernel of version 5. I was intending to compile the latest kernel anyway. But the problem is is there any heads up i need to download the kernel and trying to compile it? Is there anyone who uses Debian on UL80VT. If there is, does it works okay?In short I want to compile the latest kernel, hoping it will fix the Ethernet device. There are installers available with the latest kernel. But I want to do it on my own.

View 4 Replies View Related

Fedora :: Failing To Build Empathy Due To Missing Glib-compile-schemas?

Nov 3, 2010

I am using Fedora 12, and I recently downloaded the source of Empathy from the git repo. When I issue a ./configure on the console, I get the following output, please look at the last line:

[root@localhost empathy]# ./configure
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... /usr/bin/install -c

[code]....

View 3 Replies View Related

Fedora :: Kernel Compile Error : No Rule To Make Target `missing-syscalls'?

Dec 13, 2009

I am trying to compile a kernel in the following directory:/usr/src/kernels/2.6.30.9-102.fc11.x86_64

Note I am not trying to build an rpm but just do a simple make. After configuring with make menuconfig I issue the make command and get the following error:

Code:
[root@compaq 2.6.30.9-102.fc11.x86_64]# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `missing-syscalls'. Stop.
make: *** [prepare0] Error 2

how to resolve this error? It seems to be fedora-centric.

View 4 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:

Code:

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

[code].....

View 14 Replies View Related

OpenSUSE Wireless :: Ndiswrapper 1.55 Won't Compile - "The Program 'kernel-headers' Is Missing On Your System"

Jan 24, 2010

I am using Opensuse 11.2 on an HP Pavilion laptop. The internal wireless (Broadcom device) quit on me - It is no longer detected at boot so I assume it is dead. No problem since I have a D_Link USB adaptor (DWL-G132). To get it working however I need ndiswrapper. I then installed ndiswrapper 1.55 and the user interface supplied with Opensuse. Problem1- The interface says "The program 'kernel-headers' is missing on your system".

I have checked with Yast and the kernel-headers are installed. Problem2- I have downloaded ndiswrapper 1.55 from Sourceforge.net to attempt the traditional installation method. The 'make' command returns the following message: "Cannot find kernel version in /lib/modules/2.6.31.8-0.1-desktop/build, is it configured?."

View 9 Replies View Related

OpenSUSE :: Compile A Tar.bz2 File?

Mar 27, 2010

How do I compile a tar.bz2 file I have never successfully done it. I really want to do it for mac on Linux.

View 9 Replies View Related

Ubuntu :: Can't Compile Tar.bz2 File / Do That?

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

Fedora :: Unable To Compile .cpp File?

Jan 31, 2011

unable to compile a simple C++ programme (.cpp file), on compiling the file with gcc or g++ the following error is displayed, but the above command works in Redhat EL. the error message is:"fatal error: iostream.h: No such file or directorycompilation terminated."an anybody suggest to compile a C++ programme in Fedora 14.

View 10 Replies View Related

General :: Compile And Run A Cpp File Using Only One Command?

Jun 24, 2010

Recently I've started to learn cpp language on linux,and now I run a cpp file using following commands. g++ -o xxx xxx.cpp./xxxIs there a way to make it one line command such as compile-and-run xxx.cpp?

View 5 Replies View Related

Ubuntu :: Compile The Cpp File By Make?

Feb 3, 2011

how to compile the cpp file by make?

make -w file -> does not work!
make -f file -> does not work!

View 4 Replies View Related

Red Hat / Fedora :: Compile A Tar.gz File In Centos5?

Jan 18, 2010

howto compile a tar.gz file in centos5ORhow can i create rpm from tar.gz file

View 1 Replies View Related

General :: Not Able To Compile Source RPM File

Oct 15, 2010

I am trying to build a source rpm file through a source rpm package but while compiling I am getting the below errors as,

[root@nisserver tmp]# ls
gconfd-root mapping-root ssh-kvrIrp2633
keyring-fgwCIY nmap-5.21-1.src.rpm virtual-root.2hSYRa
keyring-vx1pvB orbit-root

[root@nisserver tmp]# rpmbuild --rebuild nmap-5.21-1.src.rpm
Installing nmap-5.21-1.src.rpm
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49535 .....

RPM build errors:
user fyodor does not exist - using root
group fyodor does not exist - using root
user fyodor does not exist - using root
group fyodor does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.73783 (%build)

What next step need to be taken to install the rpm file from the source file.

View 6 Replies View Related

Software :: Failing To Compile C File?

Apr 4, 2011

i trying to compile courier-imap-3.0.8 (no te latest version but that's a requirement) using gcc 4.4.5 (Debian 5) I ran:Quote:./configure --enable-unicode=iso-8859-1,utf-8And went Ok with the verification, but when ran Quote:makeI got:

Code:
Compiling checkpassword.c
checkpassword.c: In function 'authcheckpassword':

[code]....

View 3 Replies View Related

Software :: Compile A File In Ubuntu?

Jan 13, 2011

im trying to compile a file in ubuntu and it says i need libzmq. anyone could post a link or something so that i could install it i would be very happy.

View 6 Replies View Related

CentOS 5 :: How To Compile Tar.gz File In Centos5

Jan 18, 2010

how to compile a tar.gz file in centos5 OR how can i create rpm from tar.gz file

View 2 Replies View Related

General :: Compile Multiple File Using Makefile ?

Jun 1, 2011

How to compile single file in Linux environment using gcc. Now i dont know how to use make file to compile multiple file.

View 5 Replies View Related

General :: Shortcut To Compile Kernel File?

Nov 5, 2010

I become successful to download kernel, compile it and run it.BUTWhen i modify tcp.c file or any other file in this /usr/src/linux/net/ipv4 location, (just modifying c files) i have to compile the complete kernel every time, which is very time consuming procedure.So Please help, How to compile that net/ipv4 package or etc.

View 5 Replies View Related

Software :: Added An Cc File To An Tcl Script And Compile

Feb 11, 2011

im nirmal r ..i have installed ns2 in redhat 5.i have added an cc file to an tcl script and while compiling the make in terminal it shows me like this..(i have tried to enable the propertise but i con't)

[Code]....

View 1 Replies View Related

Programming :: Can't Compile C++ - Execvp: No Such File Or Directory

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

Programming :: If Modify Tcp.c Stack File And How To Compile

Nov 4, 2010

i have just modify tcp.c file in/usr/src/linux/net/ ipv4 location.Now should i compile the complete kernel?if not then how to compile that net/ipv4 package or etc.

View 1 Replies View Related

Fedora :: Kernel Compile With Encrypted File System?

Dec 9, 2009

I am trying to replace just the kernel (no modules) for my default kernel on FC 11. I use the default .config file and just change a few things and then run the make command. After I replace the kernel and reboot the system the password comes up for the encrypted filesystem and it does not take my password for some reason. what I need to do to get this working?

View 1 Replies View Related

Ubuntu Installation :: Compile The Driver File Manually?

Jul 27, 2010

Here any know how to compile the driver file manually?

For example i have been insert the Realtek Ethernet card in my customized kernel and kernel can't detect the card. I know the c file 8139too.c which going to use by the realtek Ethernet card.but i don't know to how to compile the file and make this as a kernel module..

View 2 Replies View Related

General :: Compile An Application And An Driver File For ARM Platform?

Apr 22, 2010

I am new to the embedded domain.I am learning about cross compilation. Just i want to compile an application and an driver file for ARM platform. I have downloaded the toolchain binaries from [URL]..

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved