Re: Help - 'make' errors dealing with Kernel Source - all my kernel source code, old and new

2006-06-23 Thread Felipe Sateler
Adam D wrote:
snip
 all give me this error:
 
   HOSTCC  scripts/kconfig/mconf.o
 scripts/kconfig/mconf.c: In function 'exec_conf':
 scripts/kconfig/mconf.c:488: error: 'EINTR' undeclared (first use in this
 function) scripts/kconfig/mconf.c:488: error: (Each undeclared identifier
 is reported only once scripts/kconfig/mconf.c:488: error: for each
 function it appears in.) scripts/kconfig/mconf.c:488: error: 'EAGAIN'
 undeclared (first use in this function) make[1]: ***
 [scripts/kconfig/mconf.o] Error 1 make: *** [xconfig] Error 2
 
 
 Is this related to missing file or a conflict?  Or just simply something
 else...

This looks like 2 options: either the errno headers are wrong/missing, or
the kernel build script is buggy. I think it is the first. In my system
those identifiers are defined in /usr/include/asm-generic/errno-base.h,
which is included in the linux-kernel-headers package. Please check if that
file exists, and defines both values.

-- 

Felipe Sateler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Help - 'make' errors dealing with Kernel Source - all my kernel source code, old and new

2006-06-21 Thread Adam D

Data:
working kernel:  Linux version 2.6.16.14.amd64-ws1.1 ([EMAIL PROTECTED]) (gcc 
version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 Thu Jun 1 23:55:33 PDT 2006

 (self compiled and works)

new kernel:  linux-2.6.17.1

errors both occur with both linux-2.6.16.14 and linux-2.6.17.1
So I am gathering it is not with the source but with make.




From an earlier post on Ubuntu list
Ok.. I was able to compile my kernel.. but now I don't know if I had installed 
or messed up my kconfig up any.. but every time I try to run:

I downloaded the newest vanilla kernel but I just can't compile the code or 
even get the simple make xconfig to work.  Now I cd into my old kernel 
directory and did a make vmlinux and it started the normal make process but as 
to any of the normal make xconfig, make gconfig, make menuconfig, make 
oldconfig all give me the same errors and I am so at a loss.

# make oldconfig
# make xconfig
# make gconfig
# make menuconfig

all give me this error:

  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c: In function 'exec_conf':
scripts/kconfig/mconf.c:488: error: 'EINTR' undeclared (first use in this 
function)
scripts/kconfig/mconf.c:488: error: (Each undeclared identifier is reported 
only once
scripts/kconfig/mconf.c:488: error: for each function it appears in.)
scripts/kconfig/mconf.c:488: error: 'EAGAIN' undeclared (first use in this 
function)
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [xconfig] Error 2


Is this related to missing file or a conflict?  Or just simply something else...


new
I am using a AMD64 3200+ self built system (my very first personally built 
computer) and Installed Ubuntu pre-release Dapper Candidate and installed 
Dapper on my box.  Two weeks later Dapper was officially released but before 
that I had compiled a custom and working kernel from kernel.org and it worked 
just great.  Since then I have updated my system with the official Dapper and 
things have been working just fine.  Now Since the newest kernel was released 
and wanted to add some new things in the code I downloaded 2.6.17.1 source and 
do as normal move my .config over and do a make oldconfig.  However something 
has changed on the computer which I have not seen before.  Now I have been 
compiling kernel code for the last 7years and have been using my own built 
kernels quite nicely.  

Apparently I have installed something that may conflicted or a package that was 
updated made a change that is keeping me from compiling the kernel.  



I only come to the list when after spending hrs/days/weeks trying to 
figure out the problem on my own and have exhausted ALL my resources and seek 
other peoples help.  When I post a message to the list it is not because I am 
two lazy to find the answer on my own but to help me with an issue that I just 
can't find an answer and maybe someone else with more programing experience can 
help.  

This being my 3rd post which I have noticed that my last 3-4 posts 
ranging a couple of weeks have not been answered.  I am glad for all the help I 
have been given in my years of experience and so look forward to the times in 
which I do help others.  It is an awesome feeling to give back to the 
community.  

I am not a programmer and since I was in elementary school I have self 
taught with help of others, books and such all I know about computers.  I am a 
strong advocate in Open Source and help with others to move to Open Source or 
with their computer / tech issues.  



Again I thank all.



Sorry for all the extra wording but I am wondering if the reason I am not 
getting any response is because I did not have enough info on this issue.

-Adam


info source:

http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-06/6008.html
http://sourceware.org/ml/crossgcc/2005-09/msg00034.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Make Errors During Kernel Build

2001-08-05 Thread Steve Kowalik
On Fri, Aug 03, 2001 at 09:52:04AM -0400, David Raeker-Jordan uttered:
 ld -m elf_i386 -Ttext 0x0 -s --oformat
 ld: unrecognized option '--oformat'
 ld: use the --help option for usage information

E?
[EMAIL PROTECTED]:~$ grep oformat ./linux/arch/i386/boot/Makefile 
$(LD) -Ttext 0x0 -s --oformat binary -o $@ $
$(LD) -Ttext 0x0 -s --oformat binary $ -o $@
$(LD) -Ttext 0x0 -s --oformat binary -e begtext -o $@ $
$(LD) -Ttext 0x0 -s --oformat binary -e begtext -o $@ $

I think you were a little too brutal to the poor, defenseless Makefile.
-- 
Steve
Synthetic Transforming Entity Viable for Exploration and Nocturnal Killing


pgpXXq7KptBtG.pgp
Description: PGP signature


Make Errors During Kernel Build

2001-08-03 Thread David Raeker-Jordan
I successfully built a 2.4.2 kernel on an old Pentium but forgot a few
things, so I am need to rebuild.

First, I deleted the /usr/src/linux-2.4.2/ subdirectories and uncompressed
and untarred linux-2.4.2.tar.bz2 into /usr/src/linux-2.4.2/

I then ran: 

make clean 
make menuconfig 
make-kpkg kernel_image

Things seem to be going fine until the end of the build, when I get:
(Please excuse any typos, e.g., I can't get the ' to swing the other way ;) )

bbootsect.s: Assembler messages
bbootsect.s:253: Warning: indirect lcall without '*'
ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect
ld: cannot open binary: No such file or directory
make [2]: *** [bbootsect] Error 1
make [2]: Leaving directory '/usr/src/linux-2.4.2/linux/arch/i386/boot'
make [1]: *** [bzImage] Error 2
make [1]: Leaving directory '/usr/src/linux-2.4.2/linux'
make: *** [stamp-build] Error 2

Of course, there is no .deb created. What did I do wrong?

-- 
David Raeker-Jordan
mailto:[EMAIL PROTECTED]
Harrisburg, PA, USA



Re: Make Errors During Kernel Build

2001-08-03 Thread Steve Kowalik
On Fri, Aug 03, 2001 at 07:52:53AM -0400, David Raeker-Jordan uttered:
 Things seem to be going fine until the end of the build, when I get:
 (Please excuse any typos, e.g., I can't get the ' to swing the other way ;) )
 
 bbootsect.s: Assembler messages
 bbootsect.s:253: Warning: indirect lcall without '*'
 ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect
 ld: cannot open binary: No such file or directory
New binutils.
You need to edit /usr/src/linux-2.4.2/linux/arch/i386/boot/Makefile, and
replace '-oformat' with '--oformat'
Then run make-kpkg clean; make-kpkg whatever kernel_image

 make [2]: *** [bbootsect] Error 1
 make [2]: Leaving directory '/usr/src/linux-2.4.2/linux/arch/i386/boot'
 make [1]: *** [bzImage] Error 2
 make [1]: Leaving directory '/usr/src/linux-2.4.2/linux'
 make: *** [stamp-build] Error 2
 
 Of course, there is no .deb created. What did I do wrong?
 
 -- 
 David Raeker-Jordan
 mailto:[EMAIL PROTECTED]
 Harrisburg, PA, USA
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 

-- 
Steve
Synthetic Transforming Entity Viable for Exploration and Nocturnal Killing


pgpinwjqsRsRE.pgp
Description: PGP signature


Re: Make Errors During Kernel Build

2001-08-03 Thread David Raeker-Jordan
Steve, 

I tried changing -oformat to --oformat in
/usr/src/linux-2.4.2/linux/arch/i386/boot/Makefile but I get the following
new error:

make[2]: Entering directory /usr/src/linux-2.4.2/linux/arch/i386/boot'
gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.2/linux/include -D__BIG_KERNEL__
-traditional -DSVGA_MODE=NORMAL_VGA  bootsect.S -o bbootsect.s
as -o bbootsect.o bbootsect.s
bbootsect.s: Assembler messages:
bbootsect.s:253: Warning: indirect lcall without *'
ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect
gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.2/linux/include -D__BIG_KERNEL__
-traditional -DSVGA_MODE=NORMAL_VGA  setup.S -o bsetup.s
as -o bsetup.o bsetup.s
bsetup.s: Assembler messages:
bsetup.s:1356: Warning: indirect lcall without *'
ld -m elf_i386 -Ttext 0x0 -s --oformat
ld: unrecognized option '--oformat'
ld: use the --help option for usage information
make[2]: *** [bsetup] Error 1
make[2]: Leaving directory /usr/src/linux-2.4.2/linux/arch/i386/boot'
make[1]: *** [bzImage] Error 2
make[1]: Leaving directory /usr/src/linux-2.4.2/linux'
make: *** [stamp-build] Error 2



Steve Kowalik wrote:
 On Fri, Aug 03, 2001 at 07:52:53AM -0400, David Raeker-Jordan uttered:
  Things seem to be going fine until the end of the build, when I get:
  (Please excuse any typos, e.g., I can't get the ' to swing the other way ;) 
  )
  
  bbootsect.s: Assembler messages
  bbootsect.s:253: Warning: indirect lcall without '*'
  ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect
  ld: cannot open binary: No such file or directory
 New binutils.
 You need to edit /usr/src/linux-2.4.2/linux/arch/i386/boot/Makefile, and
 replace '-oformat' with '--oformat'
 Then run make-kpkg clean; make-kpkg whatever kernel_image
 
  make [2]: *** [bbootsect] Error 1
  make [2]: Leaving directory '/usr/src/linux-2.4.2/linux/arch/i386/boot'
  make [1]: *** [bzImage] Error 2
  make [1]: Leaving directory '/usr/src/linux-2.4.2/linux'
  make: *** [stamp-build] Error 2
  


-- 
David Raeker-Jordan
mailto:[EMAIL PROTECTED]
Harrisburg, PA, USA



make errors in testing

2001-03-15 Thread Debian User
I am trying to compile busybox 0.49 on my Debian box. I'm running
testing and this is the first problem i've had. I had the same error
with 0.48. I am a relatively untrained wannabe programmer so I have no
Idea if this is gcc , make or my downloads.

heres the error:
gcc -Wall -Os -fomit-frame-pointer -D_GNU_SOURCE -I- -I. -I.
-DBB_VER='0.49' -DBB_BT='2001.03.15-17:14+'  -c sync.c -o sync.o

sync.c: In function `sync_main':
sync.c:32: void value not ignored as it ought to be
sync.c:33: warning: control reaches end of non-void function
make: *** [sync.o] Error 1





Re: Make errors

1996-09-04 Thread Ed Donovan
[EMAIL PROTECTED] (joost witteveen) writes:
(snip)
 You just don't have the command makeinfo installed.
 It's in the texinfo package.
 
 Installl texinfo, and you should be OK.
 

Or, emacs can do the job, if you have it.  (And what are you making?
I've always run into this building emacs-related packages, so I'm
guessing you have it, but perhaps it shows up far afield.)

The makefile you're using should have an entry like

MAKEINFO  = makeinfo   

and perhaps also 

EMACS = emacs 

which you could add, if not.  

Change the first to 

MAKEINFO  = $(EMACS) -batch -q -f batch-texinfo-format

and it will run emacs in batch (non-interactive) mode to do the job.

Does that fit?

-- 

Ed Donovan  [EMAIL PROTECTED]



Re: Make errors

1996-09-03 Thread joost witteveen
 
 Just a user problem I'm sure but when I go to use the make command I get:
 
 make: makeinfo: Command not found
 make:  Error 127
 
 What am I doing wrong?

Nothing to do with make, or gcc, I'm afraid.

You just don't have the command makeinfo installed.
It's in the texinfo package.

Installl texinfo, and you should be OK.

-- 
joost witteveen
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
--
Use Debian/GNU Linux!



Make errors

1996-09-02 Thread James Crawford
Just a user problem I'm sure but when I go to use the make command I get:

make: makeinfo: Command not found
make:  Error 127

What am I doing wrong?

Using gcc-2.7.2 and make-3.74.

Thanks
James Crawford
[EMAIL PROTECTED]