View previous topic :: View next topic |
Author |
Message |
zeke7237 n00b
Joined: 07 Aug 2003 Posts: 24
|
Posted: Tue Aug 26, 2003 3:02 am Post subject: reference to linux/compile.h in init/version.c |
|
|
compile.h seems to be missing ..
compiling sparc-sources on an ultra2 2x300 1G with the smp kernel from the livecd |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Tue Aug 26, 2003 10:17 am Post subject: |
|
|
Whats the complete error?
Whats the sparc-sources version?
Did you remerge the sources and tryed again?
Code: |
# find /usr/src/linux/ -name compile.h
/usr/src/linux/include/linux/compile.h
|
|
|
Back to top |
|
|
zeke7237 n00b
Joined: 07 Aug 2003 Posts: 24
|
Posted: Tue Aug 26, 2003 10:56 am Post subject: |
|
|
2.4.21-r1, emerged again and again no compile.h .. and I'll have to wait till I get back to the machine to give you the exact error. Should compile.h be there in a fresh emerge, or is it a generated file? |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Tue Aug 26, 2003 12:15 pm Post subject: |
|
|
Looks generated
Code: |
$ cat /usr/src/linux/include/linux/compile.h
#define UTS_VERSION "#1 Fri Aug 8 19:48:04 CEST 2003"
#define LINUX_COMPILE_TIME "19:48:04"
#define LINUX_COMPILE_BY "root"
#define LINUX_COMPILE_HOST "mel"
#define LINUX_COMPILE_DOMAIN "blu.net"
#define LINUX_COMPILER "gcc version egcs-2.92.11 19980921 (gcc2 ss-980609 experimental)"
|
|
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Wed Aug 27, 2003 5:20 pm Post subject: |
|
|
Yes, it is generated by 'make vmlinux' after you do 'make depend'
I can verify this because I just did a kernel recompile (for other reasons;
namely, to check which source files get compiled for sparc64), and since
I had done the 'make depend' long ago, I just did
make vmlinux, and here it is:
Code: |
lacewing linux # ls -l include/linux/compile.h
4 -rw-r--r-- 1 root roolacewing linux # cat include/linux/compile.h
#define UTS_VERSION "#3 SMP Wed Aug 27 13:35:46 UTC 2003"
#define LINUX_COMPILE_TIME "13:35:46"
#define LINUX_COMPILE_BY "root"
#define LINUX_COMPILE_HOST "lacewing.inforead.com"
#define LINUX_COMPILE_DOMAIN "inforead.com"
#define LINUX_COMPILER "gcc version egcs-2.92.11 19980921 (gcc2 ss-980609 experimental)"
|
|
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Wed Aug 27, 2003 5:23 pm Post subject: |
|
|
Ah, that should be
Code: |
ls -l include/linux/compile.h
4 -rw-r--r-- 1 root root 312 Aug 27 13:35 include/linux/compile.h
|
|
|
Back to top |
|
|
|