68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Netatalk 2.2.8 Released
Posted by: CTB on 2023-03-13 20:21:27
I just tried the full install process again to use a bigger SD card. I got the following errors.


Make sure you have the required Berkeley DB libraries AND headers installed.
You can download the latest version from http://www.sleepycat.com. If you have installed BDB in a non standard location use the --with-bdb=/path/to/bdb configure option and make sure your linker is configured to check for libraries there.
configure: error: Berkeley DB library required but not found!

apple@retroPi:~/netatalk-2.2.8 $ make all
make: *** No rule to make target 'all'. Stop.
Posted by: slipperygrey on 2023-03-13 22:59:31
I just tried the full install process again to use a bigger SD card. I got the following errors.


Make sure you have the required Berkeley DB libraries AND headers installed.
You can download the latest version from http://www.sleepycat.com. If you have installed BDB in a non standard location use the --with-bdb=/path/to/bdb configure option and make sure your linker is configured to check for libraries there.
configure: error: Berkeley DB library required but not found!

apple@retroPi:~/netatalk-2.2.8 $ make all
make: *** No rule to make target 'all'. Stop.
Are you sure you have installed all of the dependencies? This error usually indicates just that: The Berkeley DB dev package hasn't been installed.

I created a wiki page recently for documenting the required packages for various OSes. Please look under the Debian section: https://github.com/Netatalk/netatalk/wiki/Installation-Notes#debian-linux
Posted by: CTB on 2023-03-14 22:45:10
Ah, the latest build on the Raspberry Pi site still needed an update (apt-get update). I didn't expect that.

c..
Posted by: paws on 2023-03-27 13:45:54
For some reason I'd always thought setting this up was difficult, but it turned out to be no trouble at all. I now have AFP access to my NAS and little web server. Though the UTF-8 Markdown format I normally put online is a little unwieldy on OS 9, maybe I should get into Dreamweaver or finally learn (Mac)Perl. But that's for another thread. Thanks for this software and this thread!
Posted by: slipperygrey on 2023-03-29 12:50:52
For some reason I'd always thought setting this up was difficult, but it turned out to be no trouble at all. I now have AFP access to my NAS and little web server. Though the UTF-8 Markdown format I normally put online is a little unwieldy on OS 9, maybe I should get into Dreamweaver or finally learn (Mac)Perl. But that's for another thread. Thanks for this software and this thread!
You're very welcome! I'm glad to hear that it worked out well for your setup.
Posted by: Admiral Ackbar on 2023-08-22 09:22:38
Failure to get AppleTalk support built into kernel, using latest Raspbian image download. Following https://github.com/PiSCSI/piscsi/wiki/AFP-File-Sharing.

Getting to this step:

make -j4 Image.gz modules dtbs

Shows the below. What did I miss? Using Raspberry Pi 4 Model B Rev 1.2 hardware. Intent to use netatalk 2.2.10


warning: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
warning: LSE atomics not supported by binutils
./arch/arm64/include/asm/atomic_ll_sc.h: In function ‘__ll_sc__cmpxchg_double’:
./arch/arm64/include/asm/atomic_ll_sc.h:318:38: error: ‘__uint128_t’ undeclared (first use in this function); did you mean ‘__int128__’?
318 | : "=&r" (tmp), "=&r" (ret), "+Q" (*(__uint128_t *)ptr) \
| ^~~~~~~~~~~
./arch/arm64/include/asm/atomic_ll_sc.h:325:1: note: in expansion of macro ‘__CMPXCHG_DBL’
325 | __CMPXCHG_DBL( , , , )
| ^~~~~~~~~~~~~
./arch/arm64/include/asm/atomic_ll_sc.h:318:38: note: each undeclared identifier is reported only once for each function it appears in
318 | : "=&r" (tmp), "=&r" (ret), "+Q" (*(__uint128_t *)ptr) \
| ^~~~~~~~~~~
./arch/arm64/include/asm/atomic_ll_sc.h:325:1: note: in expansion of macro ‘__CMPXCHG_DBL’
325 | __CMPXCHG_DBL( , , , )
| ^~~~~~~~~~~~~
./arch/arm64/include/asm/atomic_ll_sc.h:318:51: error: expected expression before ‘)’ token
318 | : "=&r" (tmp), "=&r" (ret), "+Q" (*(__uint128_t *)ptr) \
| ^
./arch/arm64/include/asm/atomic_ll_sc.h:325:1: note: in expansion of macro ‘__CMPXCHG_DBL’
325 | __CMPXCHG_DBL( , , , )
| ^~~~~~~~~~~~~
./arch/arm64/include/asm/atomic_ll_sc.h: In function ‘__ll_sc__cmpxchg_double_mb’:
./arch/arm64/include/asm/atomic_ll_sc.h:318:38: error: ‘__uint128_t’ undeclared (first use in this function); did you mean ‘__int128__’?
318 | : "=&r" (tmp), "=&r" (ret), "+Q" (*(__uint128_t *)ptr) \
| ^~~~~~~~~~~
./arch/arm64/include/asm/atomic_ll_sc.h:326:1: note: in expansion of macro ‘__CMPXCHG_DBL’
326 | __CMPXCHG_DBL(_mb, dmb ish, l, "memory")
| ^~~~~~~~~~~~~
./arch/arm64/include/asm/atomic_ll_sc.h:318:51: error: expected expression before ‘)’ token
318 | : "=&r" (tmp), "=&r" (ret), "+Q" (*(__uint128_t *)ptr) \
| ^
./arch/arm64/include/asm/atomic_ll_sc.h:326:1: note: in expansion of macro ‘__CMPXCHG_DBL’
326 | __CMPXCHG_DBL(_mb, dmb ish, l, "memory")
| ^~~~~~~~~~~~~

make[1]: *** [scripts/Makefile.build:118: kernel/bounds.s] Error 1
make: *** [Makefile:1289: prepare0] Error 2
make: *** Waiting for unfinished jobs....
Posted by: slipperygrey on 2023-08-22 13:54:40
@Admiral Ackbar Unless you're using a very early Raspbian Buster, or previous releases, you shouldn't have to modify the kernel to get appletalk. If the module isn't loaded when you run lsmod, try starting atalkd which should dynamically load the model if it isn't already.
Posted by: Admiral Ackbar on 2023-08-22 14:09:53
@Admiral Ackbar Unless you're using a very early Raspbian Buster, or previous releases, you shouldn't have to modify the kernel to get appletalk. If the module isn't loaded when you run lsmod, try starting atalkd which should dynamically load the model if it isn't already.

Thanks. I don't understand what could have been wrong, and since I was working from a Raspbian image from a few weeks ago, I just tossed it and tried https://www.macip.net/ so I could get the module bits integrated already in the image. Now I need to see if it is indeed 2.x of netatalk and how I can get it over UDP so it will work with AirTalk devices I bought.
Posted by: NJRoadfan on 2023-08-22 19:22:40
You should be getting your images from here: https://www.raspberrypi.com/software/

The latest bullseye based RPi OS has AppleTalk support compiled in. I still don't understand why it is so complicated to compile kernel modules on RPis.
Posted by: slipperygrey on 2023-08-22 23:12:54
I removed the section on compiling the Linux kernel from my wiki page. It's not relevant right now. It was only early on in the lifecycle of Debian Buster around 3 years ago when appletalk had suffered a critical bug and you had to build the kernel yourself.
Posted by: Vaelen on 2024-03-28 01:12:19
In case anyone else runs into the "missing appletalk kernel module" issue on RPi, I just had to do a "sudo apt upgrade" to pull in the newest kernel and that fixed the issue for me. (I'm running Debian 11.9 Bullseye on a RPi 4, for reference.)
< 3