Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-13-2004, 11:17 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2004
Posts: 22
Rep:
|
make-kpkg not working, so no kernel includes
im trying to run make-kpkg. Im trying to make a correct source directory so i can recompile the kernel with the ati linux drivers. So far its not working. I cant really tell whats going on. Since i dont have a long enoguh space for the entire thing, i will show where thigns go wrong.
I seem to need this to work, to get the correct "kernel includes"
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
make[1]: Leaving directory `/usr/src/kernel-source-2.4.26'
/usr/bin/make -f ./debian/rules dummy_do_dep
make[1]: Entering directory `/usr/src/kernel-source-2.4.26'
/usr/bin/make EXTRAVERSION=-1.686 \
ARCH=i386 dep
make[2]: Entering directory `/usr/src/kernel-source-2.4.26'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/ mkdep.c
scripts/mkdep.c:33:19: ctype.h: No such file or directory
scripts/mkdep.c:34:19: fcntl.h: No such file or directory
In file included from /usr/lib/gcc-lib/i486-linux/3.3.4/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.4/include/limits.h:11,
from scripts/mkdep.c:35:
/usr/lib/gcc-lib/i486-linux/3.3.4/include/limits.h:122:75: limits.h: No such fil e or directory
scripts/mkdep.c:36:19: stdio.h: No such file or directory
scripts/mkdep.c:37:20: stdlib.h: No such file or directory
scripts/mkdep.c:38:20: string.h: No such file or directory
scripts/mkdep.c:39:20: unistd.h: No such file or directory
scripts/mkdep.c:41:23: sys/fcntl.h: No such file or directory
scripts/mkdep.c:42:22: sys/mman.h: No such file or directory
scripts/mkdep.c:43:22: sys/stat.h: No such file or directory
scripts/mkdep.c:44:23: sys/types.h: No such file or directory
scripts/mkdep.c:69: error: `NULL' undeclared here (not in a function)
scripts/mkdep.c: In function `do_depname':
scripts/mkdep.c:78: warning: implicit declaration of function `printf'
scripts/mkdep.c: In function `grow_config':
scripts/mkdep.c:93: warning: implicit declaration of function `realloc'
scripts/mkdep.c:93: warning: assignment makes pointer from integer without a cas t
scripts/mkdep.c:94: error: `NULL' undeclared (first use in this function)
scripts/mkdep.c:94: error: (Each undeclared identifier is reported only once
scripts/mkdep.c:94: error: for each function it appears in.)
scripts/mkdep.c:95: warning: implicit declaration of function `perror'
scripts/mkdep.c:95: warning: implicit declaration of function `exit'
scripts/mkdep.c: In function `is_defined_config':
scripts/mkdep.c:111: warning: implicit declaration of function `memcmp'
scripts/mkdep.c: In function `define_config':
scripts/mkdep.c:126: warning: implicit declaration of function `memcpy'
scripts/mkdep.c: At top level:
scripts/mkdep.c:148: error: `NULL' undeclared here (not in a function)
scripts/mkdep.c: In function `grow_precious':
scripts/mkdep.c:163: warning: assignment makes pointer from integer without a ca st
scripts/mkdep.c:164: error: `NULL' undeclared (first use in this function)
scripts/mkdep.c: In function `define_precious':
scripts/mkdep.c:176: warning: implicit declaration of function `strlen'
scripts/mkdep.c: In function `handle_include':
scripts/mkdep.c:204: warning: implicit declaration of function `access'
scripts/mkdep.c:204: error: `F_OK' undeclared (first use in this function)
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:221: error: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:224: warning: implicit declaration of function `strcmp'
scripts/mkdep.c:225: warning: implicit declaration of function `realpath'
scripts/mkdep.c:225: warning: assignment makes pointer from integer without a ca st
scripts/mkdep.c:227: warning: implicit declaration of function `fprintf'
scripts/mkdep.c:227: error: `stderr' undeclared (first use in this function)
scripts/mkdep.c:235: warning: assignment makes pointer from integer without a ca st
scripts/mkdep.c:243: warning: implicit declaration of function `malloc'
scripts/mkdep.c:243: warning: assignment makes pointer from integer without a ca st
scripts/mkdep.c:248: warning: implicit declaration of function `strcpy'
scripts/mkdep.c:221: warning: unused variable `resolved_path'
scripts/mkdep.c: In function `use_config':
scripts/mkdep.c:271: warning: implicit declaration of function `isupper'
scripts/mkdep.c:271: warning: implicit declaration of function `tolower'
scripts/mkdep.c: In function `state_machine':
scripts/mkdep.c:493: warning: implicit declaration of function `isalnum'
scripts/mkdep.c: In function `do_depend':
scripts/mkdep.c:526: warning: implicit declaration of function `getpagesize'
scripts/mkdep.c:528: error: storage size of `st' isn't known
scripts/mkdep.c:531: warning: implicit declaration of function `open'
scripts/mkdep.c:531: error: `O_RDONLY' undeclared (first use in this function)
scripts/mkdep.c:537: warning: implicit declaration of function `fstat'
scripts/mkdep.c:539: error: `stderr' undeclared (first use in this function)
scripts/mkdep.c:540: warning: implicit declaration of function `close'
scripts/mkdep.c:546: warning: implicit declaration of function `mmap'
scripts/mkdep.c:546: error: `NULL' undeclared (first use in this function)
scripts/mkdep.c:546: error: `PROT_READ' undeclared (first use in this function)
scripts/mkdep.c:546: error: `MAP_PRIVATE' undeclared (first use in this function )
scripts/mkdep.c:546: warning: assignment makes pointer from integer without a ca st
scripts/mkdep.c:562: warning: implicit declaration of function `puts'
scripts/mkdep.c:567: warning: implicit declaration of function `munmap'
scripts/mkdep.c:528: warning: unused variable `st'
scripts/mkdep.c: In function `main':
scripts/mkdep.c:581: warning: implicit declaration of function `getenv'
scripts/mkdep.c:581: warning: assignment makes pointer from integer without a ca st
scripts/mkdep.c:583: warning: implicit declaration of function `fputs'
scripts/mkdep.c:584: error: `stderr' undeclared (first use in this function)
scripts/mkdep.c:591: warning: implicit declaration of function `strncmp'
make[2]: *** [scripts/mkdep] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.26'
make[1]: *** [dummy_do_dep] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.26'
make: *** [stamp-kernel-configure] Error 2
|
|
|
|
09-13-2004, 11:54 PM
|
#2
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Looks like you do not have libc6-dev and linux-kernel-headers installed. Also have you heard of apt-file you can use it to search for missing files or list files in packages that are not installed and works similar to apt-get in that you use apt-file update and then apt-file search file_missing for example from your output above.
Code:
[HappyTux:/home/stephen]# apt-file search sys/mman.h
dietlibc-dev: usr/include/diet/sys/mman.h
dietlibc-dev: usr/include/diet/sys/mman.h
elks-libc: usr/lib/bcc/include/sys/mman.h
elks-libc: usr/lib/bcc/include/sys/mman.h
libc5-altdev: usr/i486-linuxlibc1/include/sys/mman.h
libc5-altdev: usr/i486-linuxlibc1/include/sys/mman.h
libc6-dev: usr/include/sys/mman.h
libc6-dev: usr/include/sys/mman.h
libuclibc-dev: usr/i386-linux-uclibc/include/sys/mman.h
libuclibc-dev: usr/i386-uclibc-linux/include/sys/mman.h
lsbdev: var/lib/lsbdev/lsb_header/All/sys/mman.h.defs
lsbdev: var/lib/lsbdev/lsb_header/IA32/sys/mman.h.defs
lsbdev: var/lib/lsbdev/lsb_header/IA64/sys/mman.h.defs
lsbdev: var/lib/lsbdev/lsb_header/sys/mman.h
oskit: usr/include/oskit/c/sys/mman.h
oskit: usr/include/oskit/c/sys/mman.h
oskit: usr/include/oskit/freebsd/sys/mman.h
oskit: usr/include/oskit/freebsd/sys/mman.h
rtlinux: usr/src/rtlinux-3.1pre3/include/posix/sys/mman.h
rtlinux: usr/src/rtlinux-3.1pre3/include/posix/sys/mman.h
tendra: usr/lib/TenDRA/lib/include/svid3.api/sys/mman.h
tendra: usr/lib/TenDRA/lib/include/svid3.api/sys/mman.h
tendra: usr/lib/TenDRA/lib/include/unix95.api/sys/mman.h
tendra: usr/lib/TenDRA/lib/include/unix95.api/sys/mman.h
BTW 185.
Last edited by HappyTux; 09-13-2004 at 11:57 PM.
|
|
|
|
09-14-2004, 05:40 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2004
Posts: 22
Original Poster
Rep:
|
thx happy tux
yo happy tux. It seems to ahve worked, about the libc6. thanks. I see your from nova scotia. My favorite place in the world. Greenwood, ever heard of it?
|
|
|
|
09-14-2004, 06:56 PM
|
#4
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Re: thx happy tux
Quote:
Originally posted by genixpro
yo happy tux. It seems to ahve worked, about the libc6. thanks. I see your from nova scotia. My favorite place in the world. Greenwood, ever heard of it?
|
Your welcome and certainly have heard of Greenwood my cousin was stationed at the airbase there for about ten years working on the planes.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:20 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|