Re: Updating sparc64 time_t, hostname not found

From: Wafa M. Hadidi <wmmh_at_identd.net>
Date: Fri, 19 Mar 2004 00:05:19 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 18 March 2004 23:48, Garance A Drosihn wrote:
>
> I am getting a bit confused here.  Are you having the same exact
> problem as Daniel Bond?  (that is what this thread has been talking
> about).  I assume you are talking about some other problem.

I had the same exact error:
===> include
make: don't know how to make a.out.h. Stop
*** Error code 2

Stop in /usr/src.
*** Error code 1
>
> If you are running a 32-bTT kernel, and still running applications
> compiled for 32-bTT, then whatever problem you're seeing is not
> due to the 64-bTT changes.    However, if you did compile the
> kernel from the latest source tree, then that would default to a
> 64-bTT.  You would have to explicitly change __time_t in
> /usr/src/sys/sparc64/include/_types.h before compiling the
> kernel.  I just tried a version of 'ls' compiled with 32-bTT on
> a 64-bTT system, and I am seeing the same kind of behavior that
> you are reporting.  (in my case, all files show up 'Dec 31 1969',
> but I suspect that is a difference in timezones...).
>
> When you do the commands:
>     grep __time_t /usr/src/sys/sparc64/include/_types.h
>     grep __time_t /usr/include/machine/_types.h
>
> What do you see for the typedef's in the two files?

__int32_t

>
> If you just built a new kernel, how did you build and install it?
> Did you do it using 'make buildkernel' / 'make installkernel' in
> /usr/src, or did you do it in the old-standard way?

I was in Step Pre-3. After a successfull buildworld, buildkernel, installkernel, reboot the installworld failed with the error message shown above.

- -- 
Wafa M. Hadidi		| ITUniversity - Jordan
Technical Lead		| Phone: +962-6-5693251
RHCE, RHCX, SCSA, SCNA	| Fax:+962-6-5655266
PGP Key: 0xD4CE9796
fpr: 1D5B C0DB 7055 FC7F 0315  BD72 5C2A 6326 D4CE 9796
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD4DBQFAWh0gXCpjJtTOl5YRAkbvAJiQi1W16QxciNFdheYh4u4sOApoAKDkA+1+
QaGyf/gGt26IlitMyUwUgA==
=nfDA
-----END PGP SIGNATURE-----
Received on Thu Mar 18 2004 - 13:05:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC