Compiling 1.8.2 on OS X
Derek Atkins
warlord at MIT.EDU
Tue Apr 22 10:58:41 CDT 2003
Works fine for me:
fink install gnucash
-derek
Eric Schwartz <emschwar at debian.org> writes:
> I'm running Mac OS X 10.2.5, and trying to compile gnucash on it. I'm
> having trouble with engine-helpers.c though:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw/include -L/sw/lib
> -I../../lib/libc -I../../src/gnc-module -I/usr/local/include/gnucash
> -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I /sw/include/g-wrap
> -I/sw/include -I/sw/include -L/sw/lib -Wall -Wunused -Werror -c
> engine-helpers.c -fno-common -o .libs/engine-helpers.o
> engine-helpers.c:324: illegal function call, found `,how'
> engine-helpers.c:345: illegal function call, found `,how'
> engine-helpers.c:370: illegal function call, found `,how'
> engine-helpers.c:452: illegal function call, found `,where'
> engine-helpers.c:811: illegal function call, found `,value_t'
> engine-helpers.c:931: illegal function call, found `,pd'
> engine-helpers.c:1141: illegal function call, found `,type'
> engine-helpers.c:1177: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1189: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1198: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1215: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1293: illegal function call, found `,pr_type'
> engine-helpers.c:1302: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1312: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1377: illegal function call, found `,pr_type'
> engine-helpers.c:1473: illegal function call, found `,pd_type'
> engine-helpers.c:1804: illegal function call, found `,symbol'
> engine-helpers.c:1836: only 1 arg to macro 'PERR' (2 expected)
> engine-helpers.c:1845: only 1 arg to macro 'PERR' (2 expected)
> engine-helpers.c:1852: only 1 arg to macro 'PERR' (2 expected)
> engine-helpers.c:1863: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1871: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1881: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1891: only 1 arg to macro 'PINFO' (2 expected)
> engine-helpers.c:1910: only 1 arg to macro 'PERR' (2 expected)
> engine-helpers.c:1919: illegal function call, found `,symbol'
> cpp-precomp: warning: errors during smart preprocessing, retrying in
> basic mode
> make[4]: *** [engine-helpers.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
>
> It appears that gcc is for some odd reason having trouble with
> variadic macros. This makes no sense to me, as the gcc on this box is
> based on gcc3.1, and I know gcc has supported variadic macros for some
> time before that.
>
> Any clues?
>
> -=Eric
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-user
mailing list