This thread branched off from my previous subject "compiling q330ew"
startstop immediately stops at the point where is is to find and use shared memory.
startstop: Using config file startstop_unix.d
ERROR: tport_create shmget (22; Invalid argument) Region: 2000
Searching on the web I found no hint to a package. On the Raspberry Pi at home, however, I found a dynamic library
000d8f18 T shmat 000d8fe8 T shmctl 000d8f5c T shmdt 000d8fa0 T shmget
and on a ten ytears old linux uname -a
Linux holt.oso.chalmers.se 3.2.0-94-generic #134-Ubuntu SMP Fri Nov 6 18:16:45 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux there is
nm debug/lib/x86_64-linux-gnu/libc-2.15.so | fgrep shm
00000000000f84a0 t __GI___shmat
00000000000f8530 t __GI___shmctl
00000000000f84d0 t __GI___shmdt
00000000000f8500 t __GI___shmget
00000000000f84a0 t __GI_shmat
00000000000f8530 t __GI_shmctl
00000000000f84d0 t __GI_shmdt
00000000000f8500 t __GI_shmget
00000000000f84a0 t __shmat
00000000000f8530 t __shmctl
00000000000f84d0 t __shmdt
00000000000f8500 t __shmget
00000000000f84a0 W shmat
00000000000f8530 W shmctl
00000000000f84d0 W shmdt
00000000000f8500 W shmget that might open a track.
From where are the subroutines taken when the build succeeds?
Is anyone in the position to share the equivalent for the amd architecture?
For EW 8.10 to build on my linux ubuntu machine there is
nm /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.27.so | fgrep shm
0000000000123800 t __new_shmctl
0000000000123770 T shmat
0000000000123800 T shmctl@@GLIBC_2.2.5 (!)
00000000001237a0 T shmdt
00000000001237d0 T shmget but that debug lib is not searched in the makefiles. If they could step in at all.
The *.h's, the respective mains employing shared memory, and the if-defined's must be included/coded up too. That's beyond my competence.
What I did in the build?
After the first makes many ELFs, libs, and *.o files were found unchanged since 2009 (2015). So I removed them all and compiled everything anew. That didn't change startstop to abort.
I can try next to put /usr/lib/debug/lib/x86_64-linux-gnu on the LD_LIRARY_PATH - with limited expectation a propo debug and the flagged @@GLIB_2.2.5.
Welcoming any helping hand /HGS
PS Apologies for a sudden first misclick on the Post button.