Closed daddyfix closed 3 years ago
Yeah, that code was never ported to Linux - it was written for Solaris systems a long time ago. I've made a quick go at fixing parts of the code so that it atleast compiles on an Ubuntu 20 Linux system now. Not really tested though...
Wow. Thats great. Im going to give it a try! Thanks
Thanks Peter. Compiled and runs on Raspberry Pi Model 4 B.
# make
gcc -O2 -g -Wall -c -o psmsd.o psmsd.c
gcc -O2 -g -Wall -c -o gsm.o gsm.c
gcc -O2 -g -Wall -c -o serial.o serial.c
gcc -O2 -g -Wall -c -o uucp.o uucp.c
gcc -O2 -g -Wall -c -o cap.o cap.c
gcc -O2 -g -Wall -c -o queue.o queue.c
gcc -O2 -g -Wall -c -o argv.o argv.c
gcc -O2 -g -Wall -c -o spawn.o spawn.c
gcc -O2 -g -Wall -c -o ptime.o ptime.c
gcc -O2 -g -Wall -c -o buffer.o buffer.c
gcc -O2 -g -Wall -c -o users.o users.c
gcc -O2 -g -Wall -c -o strmisc.o strmisc.c
gcc -o psmsd psmsd.o gsm.o serial.o uucp.o cap.o queue.o argv.o spawn.o ptime.o buffer.o users.o strmisc.o -lpthread -lpthread
gcc -O2 -g -Wall -c -o psmsc.o psmsc.c
gcc -o psmsc psmsc.o buffer.o users.o strmisc.o -lpthread
Hey. I trying to compile your C program on Raspberry Pi but I keep getting header conflicting errors... ie. types.h:15:26: error: conflicting types for ‘fd_set’
But I still get these errors... can you please help?