Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reference to linux/compile.h in init/version.c
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
zeke7237
n00b
n00b


Joined: 07 Aug 2003
Posts: 24

PostPosted: Tue Aug 26, 2003 3:02 am    Post subject: reference to linux/compile.h in init/version.c Reply with quote

compile.h seems to be missing ..

compiling sparc-sources on an ultra2 2x300 1G with the smp kernel from the livecd
Back to top
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Tue Aug 26, 2003 10:17 am    Post subject: Reply with quote

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
View user's profile Send private message
zeke7237
n00b
n00b


Joined: 07 Aug 2003
Posts: 24

PostPosted: Tue Aug 26, 2003 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Tue Aug 26, 2003 12:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Wed Aug 27, 2003 5:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Wed Aug 27, 2003 5:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum