Portál AbcLinuxu, 20. července 2025 23:04
In file included from /usr/include/asm/percpu.h:4, from /usr/include/asm/procesor.h:22, from /usr/include/asm/atomic.h:6, from ../include/my_global.h:297, from strxmov.c:33: /usr/include/asm-generic/percpu.h:8: error: 'CONFIG_NR_CPUS' undeclared here \
(not in a function) In file included from /usr/include/asm/atomic.h:6, from ../include/my_global.h:297, from strxmov.c:33: /usr/include/asm/processor.h:100: error: 'CONFIG_NR_CPUS' undeclared here \
(not in a function) make[2]: *** [strxmov.o] Error 1 make[2]: Leaving directory '/usr/src/mysql-4.1.10/strings' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/mysql-4.1.10' make: *** [all] Error 2
sed -i "/#define _global_h/a #define CONFIG_NR_CPUS 1" ./include/my_global.hPo teto uprave to nahlasilo dalsi chybu a na to staci zase:
sed -i "s/new/nneww/g" /usr/include/asm/system.hA vse je krasne funkcni
engine.c: In function `sbackref': engine.c:626: error: unable to find a register to spill in class `AD_REGS' engine.c:626: error: this is the insn: (insn:HI 1060 1052 1088 111 engine.c:599 (parallel [ (set (mem/s:DI (plus:SI (reg:SI 5 di [297]) (reg:SI 2 cx [orig:295 < variable >.pmatch ] [295])) [25 < variable >.rm_so+0 S8 A32]) (sign_extend:DI (reg:SI 302))) (clobber (reg:CC 17 flags)) (clobber (scratch:SI)) ]) 83 {*extendsidi2_1} (insn_list 1058 (insn_list 1051 (insn_list 1049 (insn_list:REG_DEP_ANTI 1052 (nil))))) (expr_list:REG_DEAD (reg:SI 302) (expr_list:REG_DEAD (reg:SI 2 cx [orig:295 < variable >.pmatch ] [295]) (expr_list:REG_UNUSED (scratch:SI) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil)))))) engine.c:626: confused by earlier errors, bailing out make[2]: *** [regexec.o] Error 1 make[2]: Leaving directory `/home/jurman/Download/mysql/mysql-4.1.10a/regex' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jurman/Download/mysql/mysql-4.1.10a' make: *** [all] Error 2Slackware 10.0
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.