[ltp] Suspend to Disk - Kenrel 2.6.4 vs. r50p
Jeffrey Taylor
linux-thinkpad@linux-thinkpad.org
Thu, 29 Apr 2004 22:51:18 -0500
Quoting Alexander Gran <alex@zodiac.dnsalias.org>:
[snip]
> ermm.. how did you get pacpidump to compile under linux. Modifing the makefile
> is easy, but acpi.c throws several errors?:
> root@t40:/tmp/acpi/pacpidump# make
> cc -I. -Icompat -include config.h.linux -c -o acpidump.o acpidump.c
> cc -I. -Icompat -include config.h.linux -c -o acpi.o acpi.c
> acpi.c:75:16: missing terminating " character
> acpi.c: In function `acpi_print_dsdt_definition':
> acpi.c:76: error: stray '\' in program
> acpi.c:76:10: missing terminating " character
> acpi.c:77: error: stray '\' in program
> acpi.c:77:10: missing terminating " character
> acpi.c:78:9: invalid suffix "x" on integer constant
> acpi.c:78:9: invalid suffix "x" on integer constant
> acpi.c:78: error: parse error before numeric constant
> acpi.c:79: error: stray '\' in program
> acpi.c:79:10: missing terminating " character
> acpi.c:80: error: stray '\' in program
> acpi.c:80:10: missing terminating " character
> acpi.c:81:9: invalid suffix "x" on integer constant
> acpi.c:81:9: invalid suffix "x" on integer constant
> make: *** [acpi.o] Error 1
>
IIRC, you will see this kind of error if it is a DOS file (CRLF line
ends instead of "\n", AKA NL or LF).
HTH,
Jeffrey