Re: compile error
От | Tom Lane |
---|---|
Тема | Re: compile error |
Дата | |
Msg-id | 2750.1075850516@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | compile error (Patrick J Barabe <pbarabe@U.Arizona.EDU>) |
Список | pgsql-ports |
Patrick J Barabe <pbarabe@U.Arizona.EDU> writes: > hi, i'm getting a compile error on Solaris 9 with the following config > options: > i previously had successfully compiled and installed version 7.3.2. > ... > gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes > -Wmissing-declarations -I../../../src/include -I/opt/local/include > -I/usr/include -I/opt/sfw/include -c -o stringinfo.o stringinfo.c > stringinfo.c: In function `appendStringInfo': > stringinfo.c:73: `__builtin_va_alist' undeclared (first use in this > function) > stringinfo.c:73: (Each undeclared identifier is reported only once > stringinfo.c:73: for each function it appears in.) This looks like something broken in your <stdarg.h> system header. Did you change compiler, header files, or --with-includes option compared to your 7.3.2 build? I'm suspicious that the --with-includes may have pulled in an incorrect definition for va_start et al. gcc tends to want its own definitions for these macros and can get indigestion from the vendor definitions ... regards, tom lane
В списке pgsql-ports по дате отправления: