Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: linux-2.6.0-test9 problem ...


  • Subject: Re: lug-bg: linux-2.6.0-test9 problem ...
  • From: George Danchev <danchev@xxxxxxxxx>
  • Date: Sat, 22 Nov 2003 16:06:15 +0200

On Saturday 22 November 2003 13:42, oneofus@xxxxxxxxxxxxx wrote:
> Hi grupa,
> predpolagam dosta hora ot tuk otdawna izpolzwat 2.6.x i se nadqwam nqkoi
> ot tqh da sa popadali na tozi problem (suotwetno i da go reshat :))
> nachi kernel-a e 2.6.0-test9. Problema e slednia:
>
> root@crew:/usr/src/linux-2.6.0-test9# make config
>   HOSTCC  scripts/fixdep
>   SHIPPED scripts/kconfig/zconf.tab.h
>   HOSTCC  scripts/kconfig/conf.o
>   HOSTCC  scripts/kconfig/mconf.o
> scripts/kconfig/mconf.c: In function `exec_conf':
> scripts/kconfig/mconf.c:243: `errno' undeclared (first use in this

`errno' e declared v /usr/include/errno.h kojto pyk se inlcude-va ot scripts/
kconfig/mconf.c, taka 4e v kernel source vsi4ko e ok spored men. Ima dve 
vyzmozhnosti za problema pri teb: 
* staro 2.95.x gcc koeto nesto da ne razbira tova code i go misli za 
nekorekten, a vsystnost coda si e mnogo korekten
* stalled /usr/include/errno.h kojto idva s glibc. 

Za da ne obyrkame nqkoj ste obadime, 4e kconfig e konfiguratora na kojto 
obqsnqvame tova kakvo da se kompilira i kak pri konfigvaneto na opciite ot 
potrebitelq i tova e user space programka koqto nqma nisto obsto posle s 
polu4eniq kernel image, tq se polzva samo za config na tekustoto src kernel 
tree...

> function) scripts/kconfig/mconf.c:243: (Each undeclared identifier is
> reported only once
> scripts/kconfig/mconf.c:243: for each function it appears in.)
> make[1]: *** [scripts/kconfig/mconf.o] Error 1
> make: *** [config] Error 2
> ????
>
> root@crew:/usr/src/linux-2.6.0-test9# uname -a
> Linux crew 2.4.21 #11 SMP Wed Sep 17 13:28:05 EEST 2003 i686
>
> probwah sushtia kernel (2.6.0-test9) na druga mashina (slackware 9,1 s
> kernel 2.4.22) i tam nqmah nikakuf problem ...
> pomislih che problema e w headernite files i gi upgrade-nah NO ...
> unfortunaly rabotata e kude kude dalech po sushtata :))

pri men e glibc 2.3.2 i se polu4ava slednoto  s 2.9x i 3.x gcc-ta:

gcc-2.95.4 

debian:/usr/src/TESTS/linux-2.6.0-test9# make config
  HOSTCC  scripts/fixdep
  SHIPPED scripts/kconfig/zconf.tab.h
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/mconf.o
In file included from /usr/include/asm/sigcontext.h:4,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:326,
                 from /usr/include/sys/wait.h:30,
                 from scripts/kconfig/mconf.c:10:
/usr/include/linux/compiler.h:17: warning: `__attribute_used__' redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the previous 
definition
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  HOSTCC  -fPIC scripts/kconfig/zconf.tab.o
  HOSTLLD -shared scripts/kconfig/libkconfig.so
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf arch/i386/Kconfig

Oba4e nakraq vypreki warningite vse pak startira konfiguratora, kakto se 
vizhda ot posledniq red.

gcc-3.2.3

debian:/usr/src/TESTS/linux-2.6.0-test9# make config
  HOSTCC  scripts/fixdep
  SHIPPED scripts/kconfig/zconf.tab.h
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  HOSTCC  -fPIC scripts/kconfig/zconf.tab.o
  HOSTLLD -shared scripts/kconfig/libkconfig.so
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf arch/i386/Kconfig

tuka nqma nikva grizha ;-) 

Edin po-istinski bug v kconfig (conf de) e 4e ako startirash scripts/kconfig/
conf bez argumenta arch/i386/Kconfig, pla4e s:
scripts/kconfig/conf: Kconfig file missing
Segmentation fault

no tova e super bezobidno 
-- 
pub  4096R/0E4BD0AB 2003-03-18 <keyserver.bu.edu>
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.