środa, 24 czerwca 2009

Oprogramowanie va-ctcs (ctcs-1.3.1-pre1.tgz) - problem przy kompilacji (make)

memtst.c:11:22: error: asm/page.h: No such file or directory
memtst.c: In function kmemscan:
memtst.c:349: error: PAGE_SIZE undeclared (first use in this function)
memtst.c:349: error: (Each undeclared identifier is reported only once
memtst.c:349: error: for each function it appears in.)

Rozwiązanie:
http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=193415

sed -i -e "s:#include :#define PAGE_SIZE sysconf(_SC_PAGE_SIZE):" \
runin/src/memtst.src/memtst.c runin/src/memtst.src/maxalloc.c \
|| die "sed failed"

Brak komentarzy:

Prześlij komentarz

Archiwum bloga