Subj : /src/xpdev To : HotblackDesiato From : Digital Man Date : Thu Aug 08 2024 17:09:22 Re: /src/xpdev By: HotblackDesiato to rswindell on Thu Aug 08 2024 12:46 am > Hi Rob, > > I am trying to compile synchronet on Ubuntu (Bookworm), following > https://wiki.synchro.net/install:nix. Both the git build method and the > tarball method fail with this error msg: > > Linking gcc.linux.x64.exe.release/sbbsecho > /usr/bin/ld: > /opt/synchronet/src/sbbs3/../xpdev/gcc.linux.x64.lib.release/libxp > dev.a(link_list.o): in function `listSemTryWaitBlock': > link_list.c:(.text+0x21a): undefined reference to `sem_trywait_block' > /usr/bin/ld: > /opt/synchronet/src/sbbs3/../xpdev/gcc.linux.x64.lib.release/libxp > dev.a(link_list.o): in function `listInit': > link_list.c:(.text+0x531): undefined reference to > `pthread_mutex_initializer_np' > collect2: error: ld returned 1 exit status > > I understand that the functions listSemTryWaitBlock() and > pthread_mutex_initializer_np() are defined in threadwrap.c. I checked > src/xpdev/gcc.linux.x64.obj.release and found that threadwrap.o is missing, > i.e. it is not being compiled. > > Kindly advise how to fix this issue, please. Maybe you got a build failure in xpdev first? Try running 'make' (or 'make RELEASE=1') in the src/xpdev directory and see if you get errors. -- digital man (rob) Sling Blade quote #23: Karl: I reckon I'm gonna have to get used to looking at pretty people. Norco, CA WX: 83.9øF, 49.0% humidity, 7 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .