Код копирую - вставляю... и десяток ошибок при компиляции... ничего не пойму... как так может быть... что не так...
radio.c:32:1: warning: excess elements in scalar initializer [enabled by default]
radio.c:32:1: warning: (near initialization for ‘station1’) [enabled by default]
radio.c:33:1: warning: excess elements in scalar initializer [enabled by default]
radio.c:33:1: warning: (near initialization for ‘station2’) [enabled by default]
radio.c:34:1: warning: excess elements in scalar initializer [enabled by default]
radio.c:34:1: warning: (near initialization for ‘station3’) [enabled by default]
radio.c:35:1: warning: excess elements in scalar initializer [enabled by default]
radio.c:35:1: warning: (near initialization for ‘station4’) [enabled by default]
radio.c: In function ‘play_station’:
radio.c:91:17: warning: passing argument 1 of ‘do_child’ from incompatible pointer type [enabled by default]
radio.c:43:6: note: expected ‘char **’ but argument is of type ‘char *’
radio.c:92:17: warning: passing argument 1 of ‘do_child’ from incompatible pointer type [enabled by default]
radio.c:43:6: note: expected ‘char **’ but argument is of type ‘char *’
radio.c:93:17: warning: passing argument 1 of ‘do_child’ from incompatible pointer type [enabled by default]
radio.c:43:6: note: expected ‘char **’ but argument is of type ‘char *’
radio.c:94:17: warning: passing argument 1 of ‘do_child’ from incompatible pointer type [enabled by default]
radio.c:43:6: note: expected ‘char **’ but argument is of type ‘char *’
/tmp/ccbV3SwR.o: In function `main':
radio.c:(.text+0x1fc): undefined reference to `forkpty'
/usr/local/lib/libbcm2835.a(bcm2835.o): In function `bcm2835_delayMicroseconds':
/home/pi/myprog/bcm2835-1.17/src/bcm2835.c:364: undefined reference to `clock_gettime'
/home/pi/myprog/bcm2835-1.17/src/bcm2835.c:374: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
(((((((((((((((((((((