Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#503 - module-init-tools fails to build

Attached to Project: Arch Linux
Opened by john lowell (jlowell) - Tuesday, 02 March 2004, 21:41 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

a - combined_insmod.o
gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0 -DCOMMON_3264 -DELF_MACHINE_H='"elf_x86_64.h"' -DARCH_x86_64 -DONLY_64 -malign-double -DTAINT_URL='"http://www.tux.org/lkml/#export-tainted"' -DCOMBINE_rmmod -DCOMBINE_modprobe -DCOMBINE_lsmod -DCOMBINE_ksyms -DCOMBINE_kallsyms -Dmain=combined_insmod_main -c -o combined_insmod_64.o insmod.c
In file included from insmod.c:79:
../include/util.h:42: warning: built-in function `log' declared as non-function
ar rv libmodutils.a combined_insmod_64.o
a - combined_insmod_64.o
make[1]: Leaving directory `/var/abs/base/module-init-tools/src/modutils-2.4.26/insmod'
make[1]: Entering directory `/var/abs/base/module-init-tools/src/modutils-2.4.26/genksyms'
gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -o makecrc32 makecrc32.c
./makecrc32 > crc32.tab.tmp
mv crc32.tab.tmp crc32.tab
gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -I. -I. -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0 -c -o genksyms.o genksyms.c
In file included from genksyms.c:32:
../include/util.h:42: warning: built-in function `log' declared as non-function
expect 6 shift/reduce conflicts and 5 reduce/reduce conflicts.
bison -o parse.c -dtv parse.y
parse.y: conflicts: 6 shift/reduce, 5 reduce/reduce
gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -Wno-uninitialized -I. -I. -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0 -c -o parse.o parse.c
flex -olex.c -d lex.l parse.h
gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -Wno-uninitialized -I. -I. -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0 -c -o lex.o lex.c
In file included from lex.l:33:
../include/util.h:42: warning: built-in function `log' declared as non-function
lex.l: In function `yylex':
lex.l:429: error: `yytext_ptr' undeclared (first use in this function)
lex.l:429: error: (Each undeclared identifier is reported only once
lex.l:429: error: for each function it appears in.)
make[1]: *** [lex.o] Error 1
make[1]: Leaving directory `/var/abs/base/module-init-tools/src/modutils-2.4.26/genksyms'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting...
This task depends upon

Closed by  Eric Johnson (eric)
Thursday, 25 March 2004, 15:13 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Tuesday, 02 March 2004, 22:58 GMT
Same problem as Xfree86. Downgrade flex.
Comment by john lowell (jlowell) - Friday, 05 March 2004, 01:36 GMT
Downgrading flex and rebuilding module-init-tools works like a charm. Everything fixed!

Loading...