craiger316
New member
Hi there I downloaded 633-linux-port.tar.gz but cannot get it to compile.
Basically I am running Red Hat Linux release 7.1 and when I ungzip/untar the example and run the associated make script, I get the following errors:
[craiger@becky linux-port]$ ./make
633_packet.c: In function `check_for_packet':
633_packet.c:96: parse error before `i'
633_packet.c:126: `i' undeclared (first use in this function)
633_packet.c:126: (Each undeclared identifier is reported only once
633_packet.c:126: for each function it appears in.)
show_packet.c: In function `ShowReceivedPacket':
show_packet.c:100: parse error before `char'
show_packet.c:102: `expanded' undeclared (first use in this function)
show_packet.c:102: (Each undeclared identifier is reported only once
show_packet.c:102: for each function it appears in.)
test633.c: In function `main':
test633.c:31: parse error before `char'
test633.c:33: `line1' undeclared (first use in this function)
test633.c:33: (Each undeclared identifier is reported only once
test633.c:33: for each function it appears in.)
test633.c:38: parse error before `char'
test633.c:40: `line2' undeclared (first use in this function)
gcc: test633.o: No such file or directory
gcc: 633_packet.o: No such file or directory
gcc: show_packet.o: No such file or directory
It's weird, the code looks fine to me....
Any ideas?
Craig.
Basically I am running Red Hat Linux release 7.1 and when I ungzip/untar the example and run the associated make script, I get the following errors:
[craiger@becky linux-port]$ ./make
633_packet.c: In function `check_for_packet':
633_packet.c:96: parse error before `i'
633_packet.c:126: `i' undeclared (first use in this function)
633_packet.c:126: (Each undeclared identifier is reported only once
633_packet.c:126: for each function it appears in.)
show_packet.c: In function `ShowReceivedPacket':
show_packet.c:100: parse error before `char'
show_packet.c:102: `expanded' undeclared (first use in this function)
show_packet.c:102: (Each undeclared identifier is reported only once
show_packet.c:102: for each function it appears in.)
test633.c: In function `main':
test633.c:31: parse error before `char'
test633.c:33: `line1' undeclared (first use in this function)
test633.c:33: (Each undeclared identifier is reported only once
test633.c:33: for each function it appears in.)
test633.c:38: parse error before `char'
test633.c:40: `line2' undeclared (first use in this function)
gcc: test633.o: No such file or directory
gcc: 633_packet.o: No such file or directory
gcc: show_packet.o: No such file or directory
It's weird, the code looks fine to me....
Any ideas?
Craig.
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
Last edited: