gcc -O2 -pipe -fomit-frame-pointer -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE -DBB_VER='"0.60.5"' -DBB_BT='"2004.06.11-17:03+0000"' -DUSE_SYSTEM_PWD_GRP -I. -c klogd.c -o klogd.o gcc -O2 -pipe -fomit-frame-pointer -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE -DBB_VER='"0.60.5"' -DBB_BT='"2004.06.11-17:03+0000"' -DUSE_SYSTEM_PWD_GRP -I. -c ln.c -o ln.o insmod.c:185:2: #error Sorry, but insmod.c does not yet support this architecture... insmod.c:606: error: parse error before "Elf64_RelM" insmod.c:775: error: parse error before "Elf64_RelM" insmod.c: In function `arch_apply_relocation': insmod.c:777: error: `f' undeclared (first use in this function) insmod.c:777: error: (Each undeclared identifier is reported only once insmod.c:777: error: for each function it appears in.) insmod.c:779: error: `targsec' undeclared (first use in this function) insmod.c:779: error: `rel' undeclared (first use in this function) insmod.c:777: warning: unused variable `ifile' insmod.c:779: warning: unused variable `loc' insmod.c:780: warning: unused variable `dot' insmod.c: In function `obj_relocate': insmod.c:2933: error: `Elf64_RelM' undeclared (first use in this function) insmod.c:2933: error: `rel' undeclared (first use in this function) insmod.c:2933: error: `relend' undeclared (first use in this function) insmod.c:2933: warning: left-hand operand of comma expression has no effect insmod.c:2938: error: `SHT_RELM' undeclared (first use in this function) insmod.c:2945: error: parse error before ')' token insmod.c: In function `obj_load': insmod.c:3099: error: `ELFCLASSM' undeclared (first use in this function) insmod.c:3101: warning: implicit declaration of function `MATCH_MACHINE' insmod.c:3157: error: `SHT_RELM' undeclared (first use in this function) insmod.c:3253: error: `Elf64_RelM' undeclared (first use in this function) make: *** [insmod.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: sys-apps/busybox-0.60.5-r1 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! (no error message)
busybox-0.6* marked -amd64, added patch for busybox-1.00_pre8 to make it work on amd64.
actually, you don't need to mark it -amd64... you just need to edit the config file to not compile ths insmod support... I did that and got it to work fine... does 1.0's insmod work on amd64?
yepp, it does... i used a lil' patch from mandrake's tree. Tried to insmod and rmmod some modules, no problems so far.
oh cool... then that's a better solution anyways =)