From: Jeff D. <jd...@ka...> - 2000-07-16 02:59:35
|
> #define UTS_RELEASE "2.4.0-test4-1um" > #define UTS_VERSION "#1 Sat Jul 15 17:59:50 PDT 2000" > #ifndef UTS_SYSNAME > #define UTS_SYSNAME "Linux" > #endif > #ifndef UTS_MACHINE > #define UTS_MACHINE "unknown" > #endif > #ifndef UTS_NODENAME > #define UTS_NODENAME "(none)" /* set by sethostname() */ > #endif > #ifndef UTS_DOMAINNAME > #define UTS_DOMAINNAME "(none)" /* set by setdomainname() */ > #endif Strange. That all looks fine. How about doing: gcc -D__KERNEL__ -I/usr/local2/uml/linux/include -Wall -Wstrict-prototypes -O2 -g -U__i386__ -D__arch_um__ -fwritable-strings -DSUBARCH=\"i386\" -DNESTING=0 -fno-strict-aliasing -DUTS_MACHINE='"um"' -E init/version.c > version.i at the top of the pool, extracting the initialization of system_utsname from the cpp output, and sending it in? Jeff |