Failed to compile udpcast 20070602 with gcc 3.22
Hi, I am having a problem to compile udpcast 20070602 with gcc 3.22. After I ran ./configure then make I got this error messages: ------------------------------------------------ gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udp-receiver.o udp-receiver.c cc1: unrecognized option `-Wdeclaration-after-statement' make: *** [udp-receiver.o] Error 1 ------------------------------------------------ Does anyone have similar problem ? Thanks in advance. -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A
Looks like it's only me to have this problem ? Steven. Steven Shiau wrote:
Hi, I am having a problem to compile udpcast 20070602 with gcc 3.22. After I ran ./configure then make I got this error messages: ------------------------------------------------ gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udp-receiver.o udp-receiver.c cc1: unrecognized option `-Wdeclaration-after-statement' make: *** [udp-receiver.o] Error 1 ------------------------------------------------ Does anyone have similar problem ? Thanks in advance.
-- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 9762755A Fingerprint -- A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A
OK, remove -Wdeclaration-after-statement in Makefile.in, it works. So udpcast 20070602 is intended for gcc > 3.2.2 ? Or is there any other purpose ? Thanks in advance. Steven. Steven Shiau wrote:
Looks like it's only me to have this problem ?
Steven.
Steven Shiau wrote:
Hi, I am having a problem to compile udpcast 20070602 with gcc 3.22. After I ran ./configure then make I got this error messages: ------------------------------------------------ gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udp-receiver.o udp-receiver.c cc1: unrecognized option `-Wdeclaration-after-statement' make: *** [udp-receiver.o] Error 1 ------------------------------------------------ Does anyone have similar problem ? Thanks in advance.
-- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 9762755A Fingerprint -- A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A
Steven Shiau wrote:
OK, remove -Wdeclaration-after-statement in Makefile.in, it works. So udpcast 20070602 is intended for gcc > 3.2.2 ? Or is there any other purpose ?
Thanks in advance.
Steven.
Steven Shiau wrote:
Looks like it's only me to have this problem ?
Steven.
Steven Shiau wrote:
Hi, I am having a problem to compile udpcast 20070602 with gcc 3.22. After I ran ./configure then make I got this error messages: ------------------------------------------------ gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udp-receiver.o udp-receiver.c cc1: unrecognized option `-Wdeclaration-after-statement' make: *** [udp-receiver.o] Error 1 ------------------------------------------------ Does anyone have similar problem ? Thanks in advance.
This is now fixed in the new 20071228 version Alain
Hi Alain, Cool. Thanks. But where can I download udpcast version 20071228 ? I did not find any in http://udpcast.linux.lu/download/ Thanks in advance. Regards, Steven. Alain Knaff wrote:
Steven Shiau wrote:
OK, remove -Wdeclaration-after-statement in Makefile.in, it works. So udpcast 20070602 is intended for gcc > 3.2.2 ? Or is there any other purpose ?
Thanks in advance.
Steven.
Steven Shiau wrote:
Looks like it's only me to have this problem ?
Steven.
Steven Shiau wrote:
Hi, I am having a problem to compile udpcast 20070602 with gcc 3.22. After I ran ./configure then make I got this error messages: ------------------------------------------------ gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udp-receiver.o udp-receiver.c cc1: unrecognized option `-Wdeclaration-after-statement' make: *** [udp-receiver.o] Error 1 ------------------------------------------------ Does anyone have similar problem ? Thanks in advance.
This is now fixed in the new 20071228 version
Alain
-- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A
Steven Shiau wrote:
Hi Alain, Cool. Thanks. But where can I download udpcast version 20071228 ? I did not find any in http://udpcast.linux.lu/download/
Thanks in advance.
Regards, Steven.
Try http://udpcast.linux.lu/source.html instead Alain
participants (2)
-
Alain Knaff -
Steven Shiau