Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ntpd wedged by libc?



On 2/11/2012 13:04, Christos Zoulas wrote:
On Feb 11, 12:37pm, agcarver+netbsd%acarver.net@localhost (AGC) wrote:
-- Subject: Re: ntpd wedged by libc?

| On 2/11/2012 06:57, Christos Zoulas wrote:
|
|>  Yes, because these need a more recent set of system makefiles and perhaps a
|>  more recent version of make. In addition this libc assumes that the kernel
|>  has a system calls that yours does not have. You should match your userland
|>  with your kernel. I.e. either use the libc from -5 or upgrade everything.
|
| Ok, well the only place I could find the sources for libc were in
| NetBSD-current.  I've been browsing around the ftp site but I don't see
| the sources that I need.
|
| I originally went here:
| /pub/NetBSD/NetBSD-current/tar_files/src/
|
| And this had everything, bin, lib, and the rest.
|
| But I can't find a similar tree anywhere else under NetBSD-5.1 (which is
| what I have).  The only thing I see are the sets.  I must not be looking
| in the right place but I'm not sure where the right place is.

Get it from cvs:

cvs -d anoncvs.netbsd.org:/cvsroot checkout -r netbsd-5-1 src/lib/libc 
src/common
Or the whole thing:

cvs -d anoncvs.netbsd.org:/cvsroot checkout -r netbsd-5-1 src

christos


That didn't work either:

2# make
make: "/mnt/src/lib/libc/compat/Makefile.inc" line 13: Cannot open 
/mnt/src/lib/libc/compat/arch//Makefile.inc
.: Can't open /usr/src/lib/i18n_module/shlib_version
make: "/mnt/src/lib/libc/citrus/Makefile.inc" line 9: warning: ". 
/usr/src/lib/i18n_module/shlib_version ; echo $major" returned non-zero status
make: "/mnt/src/lib/libc/gdtoa/Makefile.inc" line 20: Cannot open 
/mnt/src/lib/libc/arch//gdtoa/Makefile.inc
make: "/mnt/src/lib/libc/gen/Makefile.inc" line 51: Cannot open 
/mnt/src/lib/libc/arch//gen/Makefile.inc
make: "/mnt/src/lib/libc/net/Makefile.inc" line 42: Cannot open 
/mnt/src/lib/libc/arch//net/Makefile.inc
make: "/mnt/src/lib/libc/stdlib/Makefile.inc" line 35: Cannot open 
/mnt/src/lib/libc/arch//stdlib/Makefile.inc
make: "/mnt/src/lib/libc/string/Makefile.inc" line 33: Cannot open 
/mnt/src/lib/libc/arch//string/Makefile.inc
make: Fatal errors encountered -- cannot continue

make: stopped in /mnt/src/lib/libc
bash-4.2#

I don't know why it's looking specifically in /usr/src instead of the relative directory. I do have that file present in /mnt/src/lib/i18n_module/ so I just created a directory tree in /usr/src which eliminated that particular error but all the rest still exist and I'm not sure why it's missing the architecture. Somewhere I'm missing a config file that defines the architecture.

Home | Main Index | Thread Index | Old Index