Irig time code server has died and I wanted to implement a tempory measure using the timecode generator in the source directory.
When I try to compile I get: [root@ntp-1 util]# gcc tg2.c tg2.c:217:24: error: sys/audio.h: No such file or directory tg2.c:221:55: error: ntp_stdlib.h: No such file or directory tg2.c:522: error: 'FALSE' undeclared here (not in a function) tg2.c:527: error: 'TRUE' undeclared here (not in a function) tg2.c:531: error: 'AUDIO_MAX_GAIN' undeclared here (not in a function) tg2.c:532: error: 'AUDIO_LINE_OUT' undeclared here (not in a function) tg2.c: In function 'main': tg2.c:550: error: 'audio_info_t' undeclared (first use in this function) tg2.c:550: error: (Each undeclared identifier is reported only once tg2.c:550: error: for each function it appears in.) tg2.c:550: error: expected ';' before 'info' tg2.c:1033: error: 'AUDIO_GETINFO' undeclared (first use in this function) tg2.c:1033: error: 'info' undeclared (first use in this function) tg2.c:1043: error: 'AUDIO_ENCODING_ULAW' undeclared (first use in this function) tg2.c:1048: error: 'AUDIO_SETINFO' undeclared (first use in this function) [root@ntp-1 util]# gcc tg.c tg.c:55:23: error: sys/audio.h: No such file or directory tg.c:240: error: 'AUDIO_MAX_GAIN' undeclared here (not in a function) tg.c:241: error: 'AUDIO_LINE_OUT' undeclared here (not in a function) tg.c: In function 'main': tg.c:258: error: 'audio_info_t' undeclared (first use in this function) tg.c:258: error: (Each undeclared identifier is reported only once tg.c:258: error: for each function it appears in.) tg.c:258: error: expected ';' before 'info' tg.c:295: error: 'AUDIO_SPEAKER' undeclared (first use in this function) tg.c:330: error: 'AUDIO_GETINFO' undeclared (first use in this function) tg.c:330: error: 'info' undeclared (first use in this function) tg.c:340: error: 'AUDIO_ENCODING_ULAW' undeclared (first use in this function) tg.c:345: error: 'AUDIO_SETINFO' undeclared (first use in this function) this is /ntp-4.2.6p5/ some help please? Thanks, mark _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
