LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-03-2005, 12:34 AM   #1
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Rep: Reputation: 30
weird problem compiling (anything)


For some reason I just can't seem to compile anything anymore. Even before compiling a kernel and doing a make xconfig gives me a whole lot of errors. I guess it has something to do with gcc but I'm not sure and have no clue how to fix it. Make xconfig gives (unreadable) output like:

Code:
debian:/usr/src/linux-source-2.6.12# make xconfig
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function ‚parse_config_file‚:
scripts/basic/fixdep.c:245: warning: pointer targets in passing argument 1 of ‚use_config‚ differ in signedness
scripts/basic/fixdep.c: In function ‚parse_dep_file‚:
scripts/basic/fixdep.c:299: warning: pointer targets in passing argument 1 of ‚strchr‚ differ in signedness
scripts/basic/fixdep.c:299: warning: pointer targets in assignment differ in signedness
  HOSTCC  scripts/basic/split-include
scripts/basic/split-include.c: In function ‚main‚:
scripts/basic/split-include.c:113: warning: pointer targets in assignment differ in signedness
  HOSTCC  scripts/basic/docproc
scripts/basic/docproc.c: In function ‚find_export_symbols‚:
scripts/basic/docproc.c:184: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c:185: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c:202: warning: pointer targets in passing argument 2 of ‚add_new_symbol‚ differ in signedness
scripts/basic/docproc.c: In function ‚singfunc‚:
scripts/basic/docproc.c:274: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c: In function ‚parse_file‚:
scripts/basic/docproc.c:296: warning: pointer targets in assignment differ in signedness
  SHIPPED scripts/kconfig/zconf.tab.h
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‚strip‚:
scripts/kconfig/conf.c:46: warning: pointer targets in passing argument 1 of ‚strlen‚ differ in signedness
scripts/kconfig/conf.c: In function ‚conf_askvalue‚:
scripts/kconfig/conf.c:94: warning: pointer targets in passing argument 1 of ‚fgets‚ differ in signedness
scripts/kconfig/conf.c: In function ‚conf_string‚:
scripts/kconfig/conf.c:187: warning: pointer targets in passing argument 1 of ‚strlen‚ differ in signedness
scripts/kconfig/conf.c:188: warning: pointer targets in assignment differ in signedness
scripts/kconfig/conf.c: In function ‚conf_sym‚:
scripts/kconfig/conf.c:236: warning: pointer targets in passing argument 1 of ‚strlen‚ differ in signedness
scripts/kconfig/conf.c:236: warning: pointer targets in passing argument 1 of ‚strlen‚ differ in signedness
scripts/kconfig/conf.c:236: warning: pointer targets in passing argument 1 of ‚strcmp‚ differ in signedness
scripts/kconfig/conf.c:248: warning: pointer targets in passing argument 1 of ‚strlen‚ differ in signedness
scripts/kconfig/conf.c:248: warning: pointer targets in passing argument 1 of ‚strlen‚ differ in signedness
scripts/kconfig/conf.c:248: warning: pointer targets in passing argument 1 of ‚strcmp‚ differ in signedness
scripts/kconfig/conf.c: In function ‚conf_choice‚:
scripts/kconfig/conf.c:350: warning: pointer targets in passing argument 1 of ‚fgets‚ differ in signedness
scripts/kconfig/conf.c:360: warning: pointer targets in passing argument 1 of ‚atoi‚ differ in signedness
scripts/kconfig/conf.c:384: warning: pointer targets in passing argument 1 of ‚strlen‚ differ in signedness
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
  HOSTCC  scripts/kconfig/kconfig_load.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c: In function ‚cprint1‚:
scripts/kconfig/mconf.c:337: warning: pointer targets in assignment differ in signedness
scripts/kconfig/mconf.c:339: warning: pointer targets in passing argument 1 of ‚vsprintf‚ differ in signedness
scripts/kconfig/mconf.c: In function ‚cprint‚:
scripts/kconfig/mconf.c:357: warning: pointer targets in assignment differ in signedness
scripts/kconfig/mconf.c:359: warning: pointer targets in passing argument 1 of ‚vsprintf‚ differ in signedness
scripts/kconfig/mconf.c: In function ‚search_conf‚:
scripts/kconfig/mconf.c:550: warning: pointer targets in passing argument 1 of ‚sym_re_search‚ differ in signedness
scripts/kconfig/mconf.c: In function ‚conf‚:
scripts/kconfig/mconf.c:761: warning: pointer targets in passing argument 2 of ‚strcpy‚ differ in signedness
scripts/kconfig/mconf.c:765: warning: pointer targets in passing argument 1 of ‚sscanf‚ differ in signedness
scripts/kconfig/mconf.c: In function ‚conf_choice‚:
scripts/kconfig/mconf.c:915: warning: pointer targets in passing argument 1 of ‚sscanf‚ differ in signedness
scripts/kconfig/mconf.c:920: warning: pointer targets in passing argument 1 of ‚sscanf‚ differ in signedness
scripts/kconfig/mconf.c: In function ‚conf_string‚:
scripts/kconfig/mconf.c:961: warning: pointer targets in passing argument 2 of ‚sym_set_string_value‚ differ in signedness
scripts/kconfig/mconf.c: In function ‚conf_load‚:
scripts/kconfig/mconf.c:990: warning: pointer targets in passing argument 1 of ‚conf_read‚ differ in signedness
scripts/kconfig/mconf.c: In function ‚conf_save‚:
scripts/kconfig/mconf.c:1019: warning: pointer targets in passing argument 1 of ‚conf_write‚ differ in signedness
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2125:
scripts/kconfig/confdata.c: In function ‚conf_expand_value‚:
scripts/kconfig/confdata.c:39: warning: pointer targets in passing argument 1 of ‚strchr‚ differ in signedness
scripts/kconfig/confdata.c:39: warning: pointer targets in assignment differ in signedness
scripts/kconfig/confdata.c:40: warning: pointer targets in passing argument 1 of ‚strlen‚ differ in signedness
scripts/kconfig/confdata.c:40: warning: pointer targets in passing argument 2 of ‚strcat‚ differ in signedness
scripts/kconfig/confdata.c:40: warning: pointer targets in passing argument 2 of ‚strncat‚ differ in signedness
scripts/kconfig/confdata.c:40: warning: pointer targets in passing argument 2 of ‚strncat‚ differ in signedness
scripts/kconfig/confdata.c:51: warning: pointer targets in passing argument 2 of ‚strcat‚ differ in signedness
scripts/kconfig/confdata.c: In function ‚conf_get_default_confname‚:
scripts/kconfig/confdata.c:62: warning: pointer targets in passing argument 1 of ‚conf_expand_value‚ differ in signedness
scripts/kconfig/confdata.c: In function ‚conf_read‚:
scripts/kconfig/confdata.c:88: warning: pointer targets in passing argument 1 of ‚conf_expand_value‚ differ in signedness
/usr/share/qt3/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
  HOSTCXX scripts/kconfig/qconf.o
/bin/sh: g++: command not found
make[1]: *** [scripts/kconfig/qconf.o] Fout 127
make: *** [xconfig] Fout 2
debian:/usr/src/linux-source-2.6.12#
I'm getting the same kind of output when compiling...
Any clues?

Regards
 
Old 08-03-2005, 03:23 AM   #2
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
see below (edit)

Last edited by powadha; 08-03-2005 at 03:56 AM.
 
Old 08-03-2005, 03:32 AM   #3
greenleaf
Member
 
Registered: Feb 2004
Location: Chester, UK
Distribution: Linux From Scratch. 64 bit. Kernel 4.16.7. Fluxbox.
Posts: 48

Rep: Reputation: 19
/bin/sh: g++: command not found
looks a bit ominous. It might be good to check your filesystems (fsck). This should be done with the systems unmounted.

One day make stopped working for me, even a rebuild failed, and in the end it proved to be a a damaged libc file. I fixed the filesystems, reinstalled glibc (not a trivial task - think long & hard before doing that) and found that the make problem was cured.

Before thinking about reinstalling anything make sure that the filesystems are ok.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
weird, weird problems with logitech precision USB gamepad ikataii Linux - Hardware 4 10-14-2005 04:31 AM
Weird, weird apache2 problem atheist Debian 1 09-17-2004 08:26 PM
weird kernel problem and fs mount problem intense Slackware 5 03-16-2004 12:36 PM
Weird kernel compiling errors moger Linux - General 11 02-17-2003 07:46 PM
weird problem saturn_vk Linux - General 1 02-16-2003 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration