Menu

#4 agnix-current, error in blkreq.c, and more

open
Compilation (2)
5
2006-04-28
2006-04-28
Emmanuel
No

When I tried to compile agnix, I got the following error:

from blkreq.c:16:
/home/emmanuel/tmp/agnix-current/include/agnix/adi/chips/dma.h:82:
error: redefinition of `struct chip_pit_parm_s'
make[3]: *** [blkreq.o] Error 1

So, I commented out the struct, and it compiles
further, but then I encountered another error:

bootsect.S: Assembler messages:
bootsect.S:240: Warning: indirect lcall without `*'
ld -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect
gcc -E -D__KERNEL__
-I/home/emmanuel/tmp/agnix-current/include
-D__BIG_KERNEL__ -D__ASSEMBLY__ -traditional setup.S
-o bsetup.s
as -o bsetup.o bsetup.s
setup.S: Assembler messages:
setup.S:230: Warning: indirect lcall without `*'
ld -Ttext 0x0 -s --oformat binary -e begtext -o bsetup
bsetup.o
bsetup.o: In function `ramdisk_max':
setup.S:(.text+0x2c): undefined reference to `__MAXMEM'
make[1]: *** [bsetup] Error 1
make[1]: Leaving directory
`/home/emmanuel/tmp/agnix-current/kernel_boot/i386/boot'
make: *** [bzImage] Error 2

It seems it could not find the def for __MAXMEM, which
is in page.h. I copied it from my 2.6 linux kernel
source code, but it requires other header files. And
the dependancies don't seem to come to and end.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB