All of lore.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; 10+ 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] 10+ messages in thread
* build problem
@ 2014-05-07  5:45 kapetr
  2014-05-07  6:22 ` Hans Verkuil
  0 siblings, 1 reply; 10+ messages in thread
From: kapetr @ 2014-05-07  5:45 UTC (permalink / raw)
  To: linux-media

Hello,

I run Ubuntu 12.04 64b.
I'm using USB - ID 048d:9135 Integrated Technology Express, Inc. Zolid 
Mini DVB-T Stick

with linux-media build-ed drivers - as described here:
http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers


I just have to build it again after every kernel update - OK.

But last time - I have done the same as every time, but the build 
process failed:


$ git clone --depth=1 git://linuxtv.org/media_build.git
$ cd media_build/
$ ./build --verbose

but it ends with error

xxxxxxxxxxxxxxxxxxxxxxxxxxxx

...

******************
* Start building *
******************
make -C /home/hugo/tmp/media_build/v4l allyesconfig
make[1]: Entering directory `/home/hugo/tmp/media_build/v4l'
No version yet, using 3.2.0-61-generic
make[1]: Leaving directory `/home/hugo/tmp/media_build/v4l'
make[1]: Entering directory `/home/hugo/tmp/media_build/v4l'
make[2]: Entering directory `/home/hugo/tmp/media_build/linux'
Applying patches for kernel 3.2.0-61-generic
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
The text leading up to this was:
--------------------------
|diff --git a/drivers/media/usb/gspca/dtcs033.c 
b/drivers/media/usb/gspca/dtcs033.c
|index 5e42c71..ba01a3e 100644
|--- a/drivers/media/usb/gspca/dtcs033.c
|+++ b/drivers/media/usb/gspca/dtcs033.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
make[2]: *** [apply_patches] Error 1
make[2]: Leaving directory `/home/hugo/tmp/media_build/linux'
make[1]: *** [allyesconfig] Error 2
make[1]: Leaving directory `/home/hugo/tmp/media_build/v4l'
make: *** [allyesconfig] Error 2
can't select all drivers at ./build line 490.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Please help me to get my TV working again.


Thanks

--kapetr

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: build problem
@ 2002-05-12 15:32 Ken Martwick
  2002-05-12 18:47 ` Riley Williams
  0 siblings, 1 reply; 10+ 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] 10+ messages in thread
[parent not found: <Pine.GSU.4.21.0205102245180.1389-100000@garcia.efn.org>]
* Build problem
@ 2001-11-19 17:39 Rick Stevens
  0 siblings, 0 replies; 10+ messages in thread
From: Rick Stevens @ 2001-11-19 17:39 UTC (permalink / raw)
  To: Linux-Kernel, Linux-SCSI

This is a repost, as I've not seen a response.  Feel free to respond
to me directly if it seems more appropriate.  I've done a bit of
updating too, as this ugly beast reared it's head on a second machine
this weekend.  This has been driving me nuts for days!  I need some
help!

This may or may not have been discussed.  Yesterday, I was building
2.4.14 (yes, a bit behind the time) for a system where the root
filesystem lives on a Symbios 53c8xx SCSI drive.  I built the system
as fully modularized (the root driver and such were modules).  When
I finally got around to building the initrd image, I noticed that
the scsi_mod.o and sd_mod.o drivers were NOT loaded into the ramdisk
image.

Hmmm, I said to myself.  I looked at the
/lib/modules/2.4.14/kernel/drivers/scsi directory and discovered that
scsi_mod.o and sd_mod.o weren't present!  Looking back at the source
tree, they had indeed been built.  Apparently the "make modules_install"
didn't move them to the /lib tree.  So I copied them manually,
re-depmoded it and re-built the initrd image.  This time, the scsi_mod
and sd_mod modules WERE inserted into the ramdisk image.  However, when
booting using that image, neither scsi_mod nor sd_mod are loaded.  The
sym53c8xx driver DOES load, but we have an instant panic because the
root filesystem can't be found.

ADDITION: Same bloody thing happened on a different machine where the
root filesystem lives on a dpt_i2o SCSI RAID module.

What am I doing wrong here?  Is "make modules_install" broken in 2.4.14?
Am I suffering from a short between the keyboard and floor?  For
further info, this is a baseline RedHat 7.1 system, but I want the
2.4.14 kernel (the virtual memory system seems to work better for
our purposes than that found in kernels <= 2.4.9 and no, I don't
want to get into a discussion about the merits of the aa and ac
VM systems).


P.S. I'm posting this to linux-kernel and linux-scsi.  Someone should
be able to tell me what I did wrong.

----------------------------------------------------------------------
- Rick Stevens, SSE, VitalStream, Inc.      rstevens@vitalstream.com -
- 949-743-2010 (Voice)                    http://www.vitalstream.com -
-                                                                    -
-      Try to look unimportant--the bad guys may be low on ammo!     -
----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Build problem
@ 2001-11-16 23:56 Rick Stevens
  0 siblings, 0 replies; 10+ messages in thread
From: Rick Stevens @ 2001-11-16 23:56 UTC (permalink / raw)
  To: Linux-Kernel, Linux-SCSI

This may or may not have been discussed.  Yesterday, I was building
2.4.14 (yes, a bit behind the time) for a system where the root
filesystem lives on a Symbios 53c8xx SCSI drive.  I built the system
as fully modularized (the root driver and such were modules).  When
I finally got around to building the initrd image, I noticed that
the scsi_mod.o and sd_mod.o drivers were NOT loaded into the ramdisk
image.

Hmmm.  I looked at the /lib/modules/2.4.14/kernel/drivers/scsi
directory and discovered that scsi_mod.o and sd_mod.o weren't
present!  Looking back at the source tree, they had indeed been built.
Apparently the "make modules_install" didn't move them to the /lib
tree.  So I copied them manually, re-depmoded it and re-built the
initrd image.  This time, the scsi_mod and sd_mod modules WERE
inserted into the ramdisk image.  However, when booting using that
image, neither scsi_mod nor sd_mod are loaded.  The sym53c8xx driver
DOES load, but we have an instant panic because the root filesystem
can't be found.

What did I do wrong here?  Is "make modules_install" broken in 2.4.14?
Am I suffering from a short between the keyboard and floor?  For
further info, this is a baseline RedHat 7.1 system, but I want the
2.4.14 kernel (the virtual memory system seems to work better for
our purposes than that found in kernels <= 2.4.9 and no, I don't
want to get into a discussion about the merits of the aa and ac
VM systems).


P.S. I'm posting this to linux-kernel and linux-scsi.  Someone should
be able to tell me what I did wrong.

----------------------------------------------------------------------
- Rick Stevens, SSE, VitalStream, Inc.      rstevens@vitalstream.com -
- 949-743-2010 (Voice)                    http://www.vitalstream.com -
-                                                                    -
-     Never put off 'til tommorrow what you can forget altogether!   -
----------------------------------------------------------------------


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

end of thread, other threads:[~2014-05-07  6:23 UTC | newest]

Thread overview: 10+ 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
  -- strict thread matches above, loose matches on Subject: below --
2014-05-07  5:45 kapetr
2014-05-07  6:22 ` Hans Verkuil
2002-05-12 15:32 Ken Martwick
2002-05-12 18:47 ` Riley Williams
     [not found] <Pine.GSU.4.21.0205102245180.1389-100000@garcia.efn.org>
2002-05-12  8:06 ` Riley Williams
2001-11-19 17:39 Build problem Rick Stevens
2001-11-16 23:56 Rick Stevens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.