[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    Re: [User-mode-linux-user] user-mode port 0.27-2.4.0-test4
From:       Jeff Dike <jdike () karaya ! com>
Date:       2000-07-16 4:04:09
[Download RAW message or body]

> #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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic