NetBSD sources are not encumbered by AT&T, USL, Apple, or anyone else. The sources are distributed under a Berkeley-style software license (see http://www.NetBSD.org/Goals/redistribution.html for details), with portions of it (outside of the kernel) falling under the GNU General Public License.
Yes. You will need CodeWarrior (or perhaps Think C 6.0 or greater) to work with the project file. The source is available on:
or any of its mirrors.
Consult Advanced Programming in the Unix Environment by W. Richard Stevens. Chapter 7.7 -- Shared Libraries.
The latest kernel sources are available from ftp.NetBSD.org or one of the mirrors in the directory /pub/NetBSD/NetBSD-current/src/sys/ . Check out the NetBSD/mac68k Meta-FAQ for more information on following current sources.
Yes. Thanks to everyone who has contributed to this one. There is a HOWTO by Markus Hitter (firstname.lastname@example.org) located at: http://www.macbsd.com/macbsd/howto/cc-HOWTO
Also, Alan Palmer (email@example.com) has setup a cross-compiler for Solaris 2.4. It can be found at: ftp://ftp.macbsd.com/pub/NetBSD/contrib/cross-compiling/
Although the above HOWTO's might be slightly out of date, work is ongoing to make it easier to cross-compile NetBSD on other platforms.
Yes, the manual page for the kernel debugger is
Thanks to Scott Reynolds (firstname.lastname@example.org) and Allen Briggs (email@example.com) for this answer.
Check out the Recommended Reading section of the Meta-FAQ.
Yes. Apple has quite a few useful utilities located at:
There are at least three useful subfolders in this directory:
Apple_Desktop_Bus- utilities to work with ADB
NuBus_Slot_Manager- contains the Slots utility
Display_&_Video_Hardware- utilities for investigating video hardware
Many thanks to Alan Palmer (firstname.lastname@example.org) for providing the above information.
sys_errlistredefined when I try to compile anything?
This is because in traditional BSD systems, the
was generally known to exist, but it had never officially been defined in
any include file. So, many older programs which use this array (which is
fairly common since it contains a list of system error strings) had to
include their own definitions of it. However, NetBSD did choose to define
it in a header file, and it is not defined in quite the same way as most of
the older programs do it, so a conflict often arises.
It is usually safe to simply comment out the offending line in the source file, since changing the header file will probably break the compilation of many newer programs. Most recent programs can be configured to look for the definition if it exists or do not include their own definition.
How can I fix this?
/usr/libexec/ld.so: Undefined symbol "_tgetstr" in testprog:
From Jason Thorpe (email@example.com):
This is a really lame bug in libg++ (well, that happened to interact strangely with a lame bug in the NetBSD shared lib implementation).
Add -ltermcap to the end of the library list.
Yes. pkgsrc contains the necessary files to help you quickly install many of the common software packages available on the Internet. Please take a look at the NetBSD package system documentation for more information.
Table of contents of this chapter, General table of contents
Beginning of this Chapter