Re: NetBSD error
Patrik Rådman <[email protected]>
| Newsgroups | gmane.network.sn |
|---|---|
| Message-ID | <[email protected]> |
[email protected] <[email protected]> wrote: [snip] > cc -g -Wall -pedantic -O -I./lib -DVERSION="0.3.3" -DSNROOT="/home/gzp" -DBINDIR="/home/patrik/sn/bin" -DUSE_ZLIB -c parameters.c > parameters.c:13: syntax error before `/' > parameters.c: In function `parameters': > parameters.c:23: syntax error before `/' > parameters.c:23: `home' undeclared (first use in this function) > parameters.c:23: (Each undeclared identifier is reported only once > parameters.c:23: for each function it appears in.) > parameters.c:23: `gzp' undeclared (first use in this function) > parameters.c:23: warning: statement with no effect > *** Error code 1 > > Stop. Try using -DSNROOT='"/home/gzp"' instead. I think it's losing the quotes. Perhaps the `cat cc-flags` would work if you insert \ at the end of the lines in cc-flags? -- Patrik Rådman · patrik at iki dot fi · http://www.iki.fi/patrik/ "It's the year 2000 - but where are the flying cars?"