All of lore.kernel.org
 help / color / mirror / Atom feed
* compile problem
@ 2003-05-26  9:44 sjb
       [not found] ` <3ED1E212.30108-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: sjb @ 2003-05-26  9:44 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Apologies for this not being a strictly ACPI problem.

I'm trying to compile an ACPI enabled kernel for my Vaio. I've tried 
numerous combinations of kernel sources and patches as per the pointers 
from members of this list.

However, I always get this error during "make modules_install"

Not being a seasoned kernel builder, I really don't know what's wrong 
and I was wondering if anybody here can tell me what's up.

TIA

sjb

cd /lib/modules/2.4.20; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.20; fi
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/drivers/mtd/maps/sc520cdp.o
depmod:         mtd_concat_create_R606fc87b
depmod:         mtd_concat_destroy_R9c645004
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/drivers/net/wan/comx.o
depmod:         proc_get_inode



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Compile problem
@ 2006-10-17 15:22 Olivier Doremieux
  0 siblings, 0 replies; 8+ messages in thread
From: Olivier Doremieux @ 2006-10-17 15:22 UTC (permalink / raw)
  To: linux-raid

Hello,

When I am trying to compile the 2.5.4 release, I am getting this error :

In file included from util.c:34:
/usr/include/linux/blkpg.h:36: error: variable or field '__user' 
declared void
/usr/include/linux/blkpg.h:36: error: syntax error before '*' token
util.c: In function 'remove_partitions':
util.c:128: error: storage size of 'a' isn't known
cc1: warnings being treated as errors
util.c:128: warning: unused variable 'a'
make: *** [util.o] Error 1

Thanks in advance and thanks for the great work,

Olivier Doremieux

^ permalink raw reply	[flat|nested] 8+ messages in thread
* compile problem
@ 2004-08-20  3:47 James Harper
  2004-08-20  6:34 ` Ian Pratt
  0 siblings, 1 reply; 8+ messages in thread
From: James Harper @ 2004-08-20  3:47 UTC (permalink / raw)
  To: xen-devel@lists.sourceforge.net

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

I'm just trying to compile linux-iscsi-4.0.1 and it complains that it can't find arch/i686/Makefile within the linux kernel tree. The makefile defines the architecture as:

ARCH:=$(shell uname -m)

which on my system gives i686, not xen.

Is xen or linux-iscsi not doing the right thing here? I think probably the ARCH test should be skipped if I have specified it as an environment variable...

James

[-- Attachment #2: Type: text/html, Size: 878 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* compile problem
@ 2003-03-04 21:25 Brian
  0 siblings, 0 replies; 8+ messages in thread
From: Brian @ 2003-03-04 21:25 UTC (permalink / raw)
  To: linux-mtd

I posted before about a mount problem, but I believe it is because I was
compiling the utils outside my embedded build.  The embedded build I use
passes in a -nostdinc option to gcc.  I left this option out for the
mtd-utilites to try to get up and running with a newer kernel.  I am
attempting to get the current CVS tree to compile, but I get the following
errors:

--snip--
gcc -O2 -fomit-frame-pointer -fno-builtin -DCONFIG_LINEO -DCONFIG_NETtel -DC
ONFIG_X86 -Dlinux -D__linux__ -Dunix -DEMBED -nostdinc -I/usr/lib/gcc-lib/i3
86-redhat-linux/2.96/./include -I/usr/src/Lineo/current_build2/lib/glibc/bui
ld/include -I/usr/src/Lineo/current_build2 -I/usr/src/Lineo/current_build2/l
inux-2.4.x/include -I/usr/src/Lineo/current_build2/linux-2.4.x/include  -I/u
sr/src/Lineo/current_build2/linux-2.4.x/include/linux -I/usr/src/Lineo/curre
nt_build2/linux-2.4.x/fs/jffs2/
 -c -o compr_zlib.o compr_zlib.c
compr_zlib.c: In function `jffs2_zlib_compress':
compr_zlib.c:63: structure has no member named `zalloc'
compr_zlib.c:64: structure has no member named `zfree'
compr_zlib.c: In function `jffs2_zlib_decompress':
compr_zlib.c:108: structure has no member named `zalloc'
compr_zlib.c:109: structure has no member named `zfree'
make[2]: *** [compr_zlib.o] Error 1
--snip--

compr_zlib.c was not including the header zlib.h, so I changed that, and now
get the above errors.  I can't locate the file which lists zalloc, or zfree
in a structure.

Can anyone offer some insite into the problem?  I have tried copying headers
from the kernel souce, and several other things, but nothing had helped yet.

Thanks in advance!

-Brian

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

end of thread, other threads:[~2006-10-17 15:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-26  9:44 compile problem sjb
     [not found] ` <3ED1E212.30108-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org>
2003-05-26 16:13   ` Nils Faerber
     [not found]     ` <20030526181327.21984b10.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
2003-05-26 17:16       ` sjb
  -- strict thread matches above, loose matches on Subject: below --
2006-10-17 15:22 Compile problem Olivier Doremieux
2004-08-20  3:47 compile problem James Harper
2004-08-20  6:34 ` Ian Pratt
2004-08-20  7:13   ` James Harper
2003-03-04 21:25 Brian

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.