LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2003, 11:05 PM   #1
Crazed123
Member
 
Registered: Jul 2003
Location: You'll never take me alive!!!!!
Distribution: Snootix
Posts: 73

Rep: Reputation: 15
Compiling discover-2.0.1


I'm trying to compile discover to detect hardware for my distro, but every time a run make this is what I get:

Code:
 _===> buildtools   make[1]: Entering directory `/usr/src/discover-2.0.1/buildtools'   make[1]: Nothing to be done for `all'.   make[1]: Leaving directory `/usr/src/discover-2.0.1/buildtools'   _===> doctools   make[1]: Entering directory `/usr/src/discover-2.0.1/doctools'   make[1]: Nothing to be done for `all'.   make[1]: Leaving directory `/usr/src/discover-2.0.1/doctools'   _===> portability   make[1]: Entering directory `/usr/src/discover-2.0.1/portability'   make[1]: Nothing to be done for `all'.   make[1]: Leaving directory `/usr/src/discover-2.0.1/portability'   _===> etc   make[1]: Entering directory `/usr/src/discover-2.0.1/etc'   make[1]: Nothing to be done for `all'.   make[1]: Leaving directory `/usr/src/discover-2.0.1/etc'   _===> doc   make[1]: Entering directory `/usr/src/discover-2.0.1/doc'   make[1]: Nothing to be done for `all'.   make[1]: Leaving directory `/usr/src/discover-2.0.1/doc'   _===> scripts   make[1]: Entering directory `/usr/src/discover-2.0.1/scripts'   make[1]: Nothing to be done for `all'.   make[1]: Leaving directory `/usr/src/discover-2.0.1/scripts'   _===> sysdeps   make[1]: Entering directory `/usr/src/discover-2.0.1/sysdeps'   make[2]: Entering directory `/usr/src/discover-2.0.1/sysdeps'   all ===> sysdeps/linux   make[3]: Entering directory `/usr/src/discover-2.0.1/sysdeps/linux'   sh ../..//libtool --mode=compile gcc -c -DHAVE_CONFIG_H_ -I../../portability_ -I/usr/include/linux -I../.. -I../../ -I../../lib -g -O2 -c ata.c && touch ata.lo   rm -f .libs/ata.lo   gcc -c -DHAVE_CONFIG_H -I../../portability -I/usr/include/linux -I../.. -I../../ -I../../lib -g -O2 -c ata.c_ -fPIC -DPIC -o .libs/ata.lo   In file included from /usr/include/bits/types.h:143,   _ _ _ _ _ _ _ _ _from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.1/include/stdio.h:45,   _ _ _ _ _ _ _ _ _from ata.c:27:   /usr/include/bits/pthreadtypes.h:48: parse error before "size_t"   /usr/include/bits/pthreadtypes.h:51: parse error before "__stacksize"   In file included from /usr/include/_G_config.h:44,   _ _ _ _ _ _ _ _ _from /usr/include/libio.h:32,   _ _ _ _ _ _ _ _ _from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.1/include/stdio.h:81,   _ _ _ _ _ _ _ _ _from ata.c:27:   /usr/include/gconv.h:72: parse error before "size_t"   /usr/include/gconv.h:85: parse error before "size_t"   /usr/include/gconv.h:94: parse error before "size_t"   /usr/include/gconv.h:170: parse error before "size_t"   /usr/include/gconv.h:173: parse error before '}' token   In file included from /usr/include/libio.h:32,   _ _ _ _ _ _ _ _ _from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.1/include/stdio.h:81,   _ _ _ _ _ _ _ _ _from ata.c:27:   /usr/include/_G_config.h:47: field `__cd' has incomplete type   /usr/include/_G_config.h:50: field `__cd' has incomplete type   /usr/include/_G_config.h:52: confused by earlier errors, bailing out   make[3]: *** [ata.lo] Error 1   make[3]: Leaving directory `/usr/src/discover-2.0.1/sysdeps/linux'   make[2]: *** [__recur] Error 2   make[2]: Leaving directory `/usr/src/discover-2.0.1/sysdeps'   make[1]: *** [all] Error 2   make[1]: Leaving directory `/usr/src/discover-2.0.1/sysdeps'   make: *** [__recur] Error 2
When I get this I'm compiling from chrooted into the CD contents directory. The package configured correctly, but seems to have problems with my headers.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with DHCP discover mavinac Linux - Networking 1 04-28-2005 07:27 AM
How to discover host on LAN? Roswellevent Linux - Networking 4 01-30-2005 07:17 PM
discover and sound woes >< bobbens Debian 11 01-03-2005 03:46 PM
How to discover my rwin value mooreted Linux - Networking 0 12-14-2003 04:42 PM
how to discover essid penguinview Linux - Networking 4 07-14-2003 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration