I'm trying to write a program for my empeg. So I installed Mark Lord's prebuilt cross compiler. All worked fine.

My problem is trying to compile a program that uses shm_open(). I'm using gcc pshm.c -o pshm -lrt (as I would for i386).

The errors I'm getting are as if I've not specified the -lrt :-

$ gcc pshm.c -o pshm -lrt
pshm.c: In function `main':
pshm.c:24: warning: comparison between pointer and integer
/tmp/ccUpLN92.o: In function `main':
/tmp/ccUpLN92.o(.text+0x20): undefined reference to `shm_open'
/tmp/ccUpLN92.o(.text+0xcc): undefined reference to `shm_unlink'
collect2: ld returned 1 exit status

So I'm assuming that its not in librt for the arm version?

Anyone got any pointers? or just it just not exist on the empeg version of linux? (if so, back to ipcsysV)
_________________________
Andy MK2a 60GB Amber 040103916 32mb/Light Kit MK2a 50GB Amber 030102560 32mb