Ok, I disabled SMP in the config and got farther: ake all_targets make[3]: Entering directory `/usr/src/linux-2.4.9-0.4/net/tux' gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -c -o accept.o accept.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -c -o input.o input.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -c -o userspace.o userspace.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -c -o cachemiss.o cachemiss.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -c -o output.o output.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -c -o redirect.o redirect.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -c -o postpone.o postpone.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -c -o logger.o logger.c logger.c:70: #error Add entry! logger.c: In function `__log_request': logger.c:164: `TUX_LOGENTRY_ALIGN' undeclared (first use in this function) logger.c:164: (Each undeclared identifier is reported only once logger.c:164: for each function it appears in.) logger.c:124: warning: `next' might be used uninitialized in this function logger.c:125: warning: `next_head' might be used uninitialized in this function make[3]: *** [logger.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.9-0.4/net/tux' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.9-0.4/net/tux' make[1]: *** [_subdir_tux] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.9-0.4/net' make: *** [_dir_net] Error 2 Now a look at the logger.c file shows: #define SOFT_LIMIT (LOG_LEN*25/100) #define HARD_LIMIT (LOG_LEN*95/100) #define HARD_RELAX_LIMIT (LOG_LEN*90/100) int tux_logentry_align_order = 5; #if SMP_CACHE_BYTES == 8 # define TUX_LOGENTRY_ALIGN 3 #else #if SMP_CACHE_BYTES == 16 # define TUX_LOGENTRY_ALIGN 4 #else #if SMP_CACHE_BYTES == 32 # define TUX_LOGENTRY_ALIGN 5 #else #if SMP_CACHE_BYTES == 64 # define TUX_LOGENTRY_ALIGN 6 #else #if SMP_CACHE_BYTES == 128 # define TUX_LOGENTRY_ALIGN 7 #else #error Add entry! #endif #endif #endif #endif Since i'm not running SMP, what should TUX_LOGENTRY_ALIGN be? -- Todd Blevins On Wed, 12 Dec 2001, Todd Blevins wrote: > > Ok, i think i fixed the first problem with math-emu. It appears that the > makefile was wrong in the math-emu subdirectory. I commented out the following > line and got through the make dep: > > EXTRA_CFLAGS = -I. -I$(TOPDIR)/include/math-emu -w > > Now, onto make image...i enable tux in the config and am getting the following > error runnine make image: > > make -C tux > make[2]: Entering directory `/usr/src/linux-2.4.9-0.4/net/tux' > make all_targets > make[3]: Entering directory `/usr/src/linux-2.4.9-0.4/net/tux' > gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wno-unused -pipe -fno-strength-reduce -c -o accept.o accept.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wno-unused -pipe -fno-strength-reduce -c -o input.o input.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wno-unused -pipe -fno-strength-reduce -c -o userspace.o userspace.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wno-unused -pipe -fno-strength-reduce -c -o cachemiss.o cachemiss.c > cachemiss.c: In function `cachemiss_thread': > cachemiss.c:101: `cpu_online_map' undeclared (first use in this function) > cachemiss.c:101: (Each undeclared identifier is reported only once > cachemiss.c:101: for each function it appears in.) > make[3]: *** [cachemiss.o] Error 1 > make[3]: Leaving directory `/usr/src/linux-2.4.9-0.4/net/tux' > make[2]: *** [first_rule] Error 2 > make[2]: Leaving directory `/usr/src/linux-2.4.9-0.4/net/tux' > make[1]: *** [_subdir_tux] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.4.9-0.4/net' > make: *** [_dir_net] Error 2 > > > >