P
Dear list-members,
while trying to compile LinuxPLC, todays CVS, the compiler stopped on the file lib/period/period.c with the following message:
gcc -Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -ggdb -O3
-funroll-loops -I. -c -fPIC -DPIC period/period.c -o
period/.libs/period.lo
period/period.c:76: parse error before `_timer_id'
period/period.c:76: warning: type defaults to `int' in declaration of
`_timer_id'
period/period.c:76: warning: data definition has no type or storage
class
period/period.c: In function `period_init':
period/period.c:182: warning: implicit declaration of function
`clock_getres'
period/period.c:182: `CLOCK_REALTIME' undeclared (first use in this
function)
period/period.c:182: (Each undeclared identifier is reported only once
period/period.c:182: for each function it appears in.)
period/period.c:277: warning: implicit declaration of function
`timer_create'
period/period.c: In function `period_done':
period/period.c:315: warning: implicit declaration of function
`timer_delete'
period/period.c: In function `plc_period_set':
period/period.c:409: storage size of `time_value' isn't known
period/period.c:422: warning: implicit declaration of function
`timer_settime'
period/period.c:409: warning: unused variable `time_value'
period/period.c:424: Internal compiler error in
`gen_tagged_type_instantiation_die', at dwarf2out.c:9308
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [period/period.lo] Error 1
In line 76, <static timer_t _timer_id = -1;> the type timer_t is used. Where can I find the definition of this type. Is it a POSIX type or does it come with LinuxPLC?
I'm running a Debian 2.2 distribution on an Intel P3 processor, gcc-2.95.2, glibc 2.1, uname = Linux bonobo 2.2.19 #1 Fri Jun 22 14:01:01 CEST 2001 i686 unknown.
Thank you for your attention,
Peter Hopfgartner
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
while trying to compile LinuxPLC, todays CVS, the compiler stopped on the file lib/period/period.c with the following message:
gcc -Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -ggdb -O3
-funroll-loops -I. -c -fPIC -DPIC period/period.c -o
period/.libs/period.lo
period/period.c:76: parse error before `_timer_id'
period/period.c:76: warning: type defaults to `int' in declaration of
`_timer_id'
period/period.c:76: warning: data definition has no type or storage
class
period/period.c: In function `period_init':
period/period.c:182: warning: implicit declaration of function
`clock_getres'
period/period.c:182: `CLOCK_REALTIME' undeclared (first use in this
function)
period/period.c:182: (Each undeclared identifier is reported only once
period/period.c:182: for each function it appears in.)
period/period.c:277: warning: implicit declaration of function
`timer_create'
period/period.c: In function `period_done':
period/period.c:315: warning: implicit declaration of function
`timer_delete'
period/period.c: In function `plc_period_set':
period/period.c:409: storage size of `time_value' isn't known
period/period.c:422: warning: implicit declaration of function
`timer_settime'
period/period.c:409: warning: unused variable `time_value'
period/period.c:424: Internal compiler error in
`gen_tagged_type_instantiation_die', at dwarf2out.c:9308
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [period/period.lo] Error 1
In line 76, <static timer_t _timer_id = -1;> the type timer_t is used. Where can I find the definition of this type. Is it a POSIX type or does it come with LinuxPLC?
I'm running a Debian 2.2 distribution on an Intel P3 processor, gcc-2.95.2, glibc 2.1, uname = Linux bonobo 2.2.19 #1 Fri Jun 22 14:01:01 CEST 2001 i686 unknown.
Thank you for your attention,
Peter Hopfgartner
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc