public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* build problem
@ 2002-05-08 21:14 Ken Martwick
  2002-05-09  8:29 ` Javier Sedano
  2002-05-10 21:47 ` Riley Williams
  0 siblings, 2 replies; 6+ messages in thread
From: Ken Martwick @ 2002-05-08 21:14 UTC (permalink / raw)
  To: linux-8086

I just tried a "test-compile" of the v.0.1.0 kernel with
the default configuration.  The compilation failed with
the following error messages:
 
make[3]: Entering directory `/usr/src/elks-0.1.0/arch/i86/tools'
gcc -I ../../../include -o build build.c
/tmp/cca005671.o: In function `main':
/tmp/cca005671.o(.text+0x152): undefined reference to `major'
/tmp/cca005671.o(.text+0x16c): undefined reference to `minor'
/tmp/cca005671.o(.text+0x1e3): undefined reference to `major'
/tmp/cca005671.o(.text+0x1fd): undefined reference to `minor'
collect2: ld returned 1 exit status
make[3]: *** [build] Error 1
make[3]: Leaving directory `/usr/src/elks-0.1.0/arch/i86/tools'
make[2]: *** [toolkit] Error 2
make[2]: Leaving directory `/usr/src/elks-0.1.0/arch/i86'
make[1]: *** [Image] Error 2
make[1]: Leaving directory `/usr/src/elks-0.1.0'
make: *** [elks] Error 2
 
I can't find the difference, as v.0.0.84 compiles without
problems and build.c seems to be very similar.  Can anyone
shed any light on this problem?
 
Ken Martwick



^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <Pine.GSU.4.21.0205102245180.1389-100000@garcia.efn.org>]
* Re: build problem
@ 2002-05-12 15:32 Ken Martwick
  2002-05-12 18:47 ` Riley Williams
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Martwick @ 2002-05-12 15:32 UTC (permalink / raw)
  To: Riley Williams; +Cc: Linux 8086

Hi Riley,
You wrote, in part:
 
> I have to conclude that one of the above patches is the faulty
> one, and reverting it will fix this problem. Perhaps you could
> try that and confirm which is the case, and I can then revert it
> and fix the problem in the CVS tree as well.
> Best wishes from Riley.
 
The "#include <sys/sysmacros.h>" was the crucial omission.  It is
hard to see how the program would compile without it, but there
certainly could be alternative include paths in later Linux source
trees.
Ken Martwick



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-12 18:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-08 21:14 build problem Ken Martwick
2002-05-09  8:29 ` Javier Sedano
2002-05-10 21:47 ` Riley Williams
     [not found] <Pine.GSU.4.21.0205102245180.1389-100000@garcia.efn.org>
2002-05-12  8:06 ` Riley Williams
  -- strict thread matches above, loose matches on Subject: below --
2002-05-12 15:32 Ken Martwick
2002-05-12 18:47 ` Riley Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox