Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 unable to compile lkcd due to error

open
nobody
None
5
2005-10-11
2005-10-11
Anonymous
No

I am using a i386 system. Here is the error I get when
i try to compile:

cc -I/usr/src/kernelmods/lkcdutils/dwarf/libdwarf -g
-D_FILE_OFFSET_BITS=64 -DARCH=i386 -Iinclude
-I../liballoc -I../libutil -I/usr/local/include
-I/usr/include/libelf -Wall -Wstrict-prototypes
-DDUMP_ARCH_I386 -c -o kl_cmp.o kl_cmp.c
kl_cmp.c:37: error: static declaration of ‘cache_head’
follows non-static declaration
include/kl_cmp.h:85: error: previous declaration of
‘cache_head’ was here
kl_cmp.c:37: error: static declaration of ‘cache_tail’
follows non-static declaration
include/kl_cmp.h:86: error: previous declaration of
‘cache_tail’ was here
kl_cmp.c: In function ‘kl_compress_gzip’:
kl_cmp.c:1338: warning: pointer targets in passing
argument 1 of ‘compress’ differ in signedness
kl_cmp.c:1338: warning: pointer targets in passing
argument 3 of ‘compress’ differ in signedness
make: *** [kl_cmp.o] Error 1

Discussion