From: <bil...@ca...> - 2003-09-18 16:46:51
|
Please forgive my lazy approach to this problem, but it seems like one that others may have gotten past multiple times already. Since LINE hasn't changed for a while, I thought it would be pretty simple to build it and try it out. Though it just says "compile with cygwin", there is cygwin.dll 1.1.8 on the downloads page, which leads me to believe that's what most people (or at least the LINE author) are using. I'm using a cygwin that is pretty close to the current stuff from Red Hat on WinXP Pro (uname -a says "CYGWIN_NT-5.1 attaboy 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin"), and I think it's putting me into header file hell (see below). Obviously, I've already looked for missing semi-colons :-), so something more elaborate has changed. Has anyone seen and gotten past this particular grief? If not, I'll dig into it later. Thanks! ---------------------------------------------------------------- gcc -Wall -g -I../common -DLINE_VERSION=\"0.5\" -DLOG_SOURCE=LOG_LINEXEC -c -o fileio.o fileio.c In file included from fileio.c:40: linux_stat.h:13: warning: no semicolon at end of struct or union linux_stat.h:13: parse error before '.' token linux_stat.h:14: parse error before '.' token linux_stat.h:15: parse error before '.' token linux_stat.h:31: warning: no semicolon at end of struct or union linux_stat.h:31: parse error before '.' token linux_stat.h:33: parse error before '.' token linux_stat.h:35: parse error before '.' token linux_stat.h:39: parse error before '}' token linux_stat.h:64: warning: no semicolon at end of struct or union linux_stat.h:64: parse error before '.' token linux_stat.h:67: parse error before '.' token linux_stat.h:70: parse error before '.' token linux_stat.h:75: parse error before '}' token fileio.c: In function `copy_stat': fileio.c:213: dereferencing pointer to incomplete type fileio.c:214: dereferencing pointer to incomplete type fileio.c:215: dereferencing pointer to incomplete type fileio.c:216: dereferencing pointer to incomplete type fileio.c:217: dereferencing pointer to incomplete type fileio.c:218: dereferencing pointer to incomplete type fileio.c:219: dereferencing pointer to incomplete type fileio.c:220: dereferencing pointer to incomplete type fileio.c:221: dereferencing pointer to incomplete type fileio.c:222: dereferencing pointer to incomplete type fileio.c:223: dereferencing pointer to incomplete type fileio.c:224: dereferencing pointer to incomplete type fileio.c:225: dereferencing pointer to incomplete type fileio.c: In function `get_dir_size': fileio.c:250: dereferencing pointer to incomplete type fileio.c: In function `l__llseek': fileio.c:764: warning: unused variable `offset_high' make[1]: *** [fileio.o] Error 1 make[1]: Leaving directory `/cygdrive/c/uml/line-0.5/src/Linexec' make: *** [all] Error 2 ---------------------------------------------------------------- -- bi...@ca... (WJCarpenter) PGP 0x91865119 38 95 1B 69 C9 C6 3D 25 73 46 32 04 69 D6 ED F3 |