pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
`__builtin_va_alist' undeclared 4+ messages / 2 participants [nested] [flat]
* `__builtin_va_alist' undeclared @ 2003-09-11 11:39 Kalyan (FS) <kalyan@frontline.com.sg> 0 siblings, 0 replies; 4+ messages in thread From: Kalyan (FS) @ 2003-09-11 11:39 UTC (permalink / raw) To: pgsql-admin Hi Please help me... I am installing postgresql-7.3.4 on solaris sparc 2.8. But with make it is giving me the following error. I am strucked now. Output: make -C nbtree SUBSYS.o make[4]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/access/nbtree' make[4]: `SUBSYS.o' is up to date. make[4]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/access/nbtree' make -C rtree SUBSYS.o make[4]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/access/rtree' make[4]: `SUBSYS.o' is up to date. make[4]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/access/rtree' make -C transam SUBSYS.o make[4]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/access/transam' make[4]: `SUBSYS.o' is up to date. make[4]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/access/transam' make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/access' make -C bootstrap all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/bootstrap' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/bootstrap' make -C catalog all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/catalog' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/catalog' make -C parser all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/parser' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/parser' make -C commands all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/commands' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/commands' make -C executor all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/executor' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/executor' make -C lib all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/lib' gcc -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/includ e -I/usr/local/include -I/usr/include -c -o stringinfo.o stringinfo.c stringinfo.c: In function `appendStringInfo': stringinfo.c:126: `__builtin_va_alist' undeclared (first use in this function) stringinfo.c:126: (Each undeclared identifier is reported only once stringinfo.c:126: for each function it appears in.) make[3]: *** [stringinfo.o] Error 1 make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/lib' make[2]: *** [lib-recursive] Error 2 make[2]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/temp/postgresql-7.3.4/src' make: *** [all] Error 2 Thanks in advance, Kalyan. ^ permalink raw reply [nested|flat] 4+ messages in thread
* `__builtin_va_alist' undeclared @ 2003-09-11 11:44 Kalyan (FS) <kalyan@frontline.com.sg> 0 siblings, 1 reply; 4+ messages in thread From: Kalyan (FS) @ 2003-09-11 11:44 UTC (permalink / raw) To: pgsql-admin Hi Please help me... I am installing postgresql-7.3.4 on solaris sparc 2.8. But with make it is giving me the following error. I am strucked now. Output: make -C nbtree SUBSYS.o make[4]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/access/nbtree' make[4]: `SUBSYS.o' is up to date. make[4]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/access/nbtree' make -C rtree SUBSYS.o make[4]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/access/rtree' make[4]: `SUBSYS.o' is up to date. make[4]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/access/rtree' make -C transam SUBSYS.o make[4]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/access/transam' make[4]: `SUBSYS.o' is up to date. make[4]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/access/transam' make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/access' make -C bootstrap all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/bootstrap' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/bootstrap' make -C catalog all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/catalog' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/catalog' make -C parser all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/parser' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/parser' make -C commands all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/commands' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/commands' make -C executor all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/executor' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/executor' make -C lib all make[3]: Entering directory `/opt/temp/postgresql-7.3.4/src/backend/lib' gcc -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/includ e -I/usr/local/include -I/usr/include -c -o stringinfo.o stringinfo.c stringinfo.c: In function `appendStringInfo': stringinfo.c:126: `__builtin_va_alist' undeclared (first use in this function) stringinfo.c:126: (Each undeclared identifier is reported only once stringinfo.c:126: for each function it appears in.) make[3]: *** [stringinfo.o] Error 1 make[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend/lib' make[2]: *** [lib-recursive] Error 2 make[2]: Leaving directory `/opt/temp/postgresql-7.3.4/src/backend' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/temp/postgresql-7.3.4/src' make: *** [all] Error 2 Thanks in advance, Kalyan. ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: `__builtin_va_alist' undeclared @ 2003-09-11 14:12 Tom Lane <tgl@sss.pgh.pa.us> parent: Kalyan (FS) <kalyan@frontline.com.sg> 0 siblings, 1 reply; 4+ messages in thread From: Tom Lane @ 2003-09-11 14:12 UTC (permalink / raw) To: Kalyan (FS) <kalyan@frontline.com.sg>; +Cc: pgsql-admin "Kalyan (FS)" <kalyan@frontline.com.sg> writes: > I am installing postgresql-7.3.4 on solaris sparc 2.8. > gcc -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/includ > e -I/usr/local/include -I/usr/include -c -o > stringinfo.o stringinfo.c > stringinfo.c: In function `appendStringInfo': > stringinfo.c:126: `__builtin_va_alist' undeclared (first use in this > function) It seems not to be picking up the gcc-specific version of <stdarg.h>. I don't know how you configured PG, but if I were you I'd get rid of the explicit -I/usr/include --- that is unnecessary, and it is very likely causing the Solaris-standard versions of include files to be picked up instead of the gcc-specific ones. For that matter, I rather doubt that you need -I/usr/local/include ... every gcc installation I've ever dealt with will search that by default, too. regards, tom lane ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: `__builtin_va_alist' undeclared @ 2003-09-11 14:22 Kalyan (FS) <kalyan@frontline.com.sg> parent: Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Kalyan (FS) @ 2003-09-11 14:22 UTC (permalink / raw) To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin Hi Tom, It works! Now I have to install. Thank you very much. Have a great day! Kalyan. Here is the final output: lib libplpgsql.a -shared -h libplpgsql.so.1 pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o -L../../../../src/port -L/usr/local b -o libplpgsql.so.1.0 -f libplpgsql.so.1 -s libplpgsql.so.1.0 libplpgsql.so.1 -f libplpgsql.so -s libplpgsql.so.1.0 libplpgsql.so e[4]: Leaving directory `/opt/temp/postgresql-7.3.4/src/pl/plpgsql/src' e[3]: Leaving directory `/opt/temp/postgresql-7.3.4/src/pl/plpgsql' e[2]: Leaving directory `/opt/temp/postgresql-7.3.4/src/pl' e[1]: Leaving directory `/opt/temp/postgresql-7.3.4/src' of PostgreSQL successfully made. Ready to install. ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-09-11 14:22 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2003-09-11 11:39 `__builtin_va_alist' undeclared Kalyan (FS) <kalyan@frontline.com.sg> 2003-09-11 11:44 `__builtin_va_alist' undeclared Kalyan (FS) <kalyan@frontline.com.sg> 2003-09-11 14:12 ` Tom Lane <tgl@sss.pgh.pa.us> 2003-09-11 14:22 ` Kalyan (FS) <kalyan@frontline.com.sg>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox