Kernel-HOWTO:
http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html
+A note for RedHat users: You may need to install the glibc-devel
+package to be able to compile Netatalk correctly.
+
----------------------------------------------------------------
B. TRU64
and is enough to stop the bug from occurring. This is the easiest
workaround and would merely alter the standard compilation steps to
- ./configure --with-cflags="-DHAVE_GCC_MEMCPY_BUG"
+ CFLAGS="-DHAVE_GCC_MEMCPY_BUG" ./configure [...]
make
make install
1. SELECT COMPILER. This distribution is configured to build with
gcc. It should also work with cc. At the present time only cc
- v5.0 and above can build the 64-bit kernel module.
-
-1a. SELECT KERNEL TYPE. Edit sys/solaris/Makefile and set KCFLAGS to
- include sparcv9 support if you run a 64-bit kernel, or leave it
- commented out for a 32-bit kernel. Only UltraSPARC systems
- running Solaris 7 and above support a 64-bit kernel. If you're
- not sure what kernel you use, run "isainfo -v". You're running a
- 64-bit kernel if the result includes 64-bit (sparcv9), otherwize
- it's 32-bit.
-
- NOTE: If you want both the 32-bit and 64-bit kernel modules to be
- installed, first compile and install the version appropriate to
- the kernel that you're currently running, then make clean,
- compile and install the other version.
-
-2. EDIT NETCONFIG. Add the following line to /etc/netconfig:
-
- ddp tpi_clts - appletalk ddp /dev/ddp -
-
- This makes the socket library aware of the AppleTalk protocol
- family.
+ v5.0 and gcc 3.1 and above can build the 64-bit kernel module.
-3. INSTALL DRIVER. Since the STREAMS ddp driver must be installed as
- root, we've separated that portion of the build. Type
+2. INSTALL DRIVER. Since the STREAMS ddp driver must be installed as
+ root, we've separated that portion of the build. Go to the
+ sys/solaris directory and type
make kinstall
to install the driver. This copies the driver and its config file
into /usr/kernel/drv and /usr/kernel/strmod, runs "add_drv ddp" to
- make the kernel aware of the new driver, and adds an rc file to
- /etc/rc?.d. Watch out for error messages after it runs add_drv.
+ make the kernel aware of the new driver.
If you see something like
devfsadm: driver failed to attach: ddp
Warning: Driver (ddp) successfully added to system but failed to attach
- then recheck sys/solaris/Makefile and/or try a different compiler.
+ then try a different compiler.
-4. ATALKD.CONF. Under Solaris, you must create atalkd.conf, since
+3. ATALKD.CONF. Under Solaris, you must create atalkd.conf, since
Solaris provides no method for determining the names of the
available interfaces. It is sufficent to name the available
interfaces in atalkd.conf, one per line. E.g.
on a line by itself on many Suns. hme0 on Ultras. See atalkd(8).
-5. PRINTING. Netatalk can use any postscript printer that has been set
+4. PRINTING. Netatalk can use any postscript printer that has been set
up for use by Solaris. If you haven't already set up a printer,
type admintool then select Browse --> Printers, and then Edit --> Add
and fill in the form for either a local or remote printer. If adding