Date: Mon, 15 Jan 2001 09:47:32 -0800 (PST) From: opentrax@email.com To: gianluca@parkinson.it Cc: database@freebsd.org, questions@freebsd.org Subject: Re: Postgresql compile error Message-ID: <200101151747.JAA00318@spammie.svbug.com> In-Reply-To: <3A630389.E7A91E8B@parkinson.it>
next in thread | previous in thread | raw e-mail | index | archive | help
Gianluca, I've reposted your message in case someone else has an idea. On 15 Jan, Gianluca Sordiglioni wrote: > > > opentrax@email.com wrote: >> >> Has anyone responded to your request? >> If not, email back with the remaining message. > > I received no answer. > > It seems there's something wrong in malloc.h, but this is not true. > malloc.h is a system include file. It has no syntax error. > Perhaps there's a bug in gmake or some configuration tool, I guess. > Yes, malloc.h is a system include file, but makefile is looking for the one in '/usr/local/include'. That is not the system include. The system malloc.h is usually in '/usr/include'. I'm not sure if that is what ODBC needs. Perhaps someone who has used/compiled this package can say. Jessem. >> On 7 Jan, Gianluca Sordiglioni wrote: >> > Trying to compile postgresql7 on FreeBSD 4.2 with different options I >> > always get this error: >> > >> > gmake[2]: Entering directory >> > `/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/perl5' >> > gmake[2]: Leaving directory >> > `/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/perl5' >> > gmake -C odbc all >> > gmake[2]: Entering directory >> > `/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/odbc' >> > cc -I../../include -I../../backend -I/usr/local/include >> > -I/usr/local/include/tcl8.3 -I/usr/local/include/tk8.3 -O -pipe >> > -march=pentiumpro -DUSE_SSL -I. -DHAVE_CONFIG_H -fpic -DPIC -c -o >> > tuplelist.o tuplelist.c >> > In file included from tuplelist.c:16: >> > /usr/local/include/malloc.h:81: syntax error before `*' >> > /usr/local/include/malloc.h:82: syntax error before `*' >> > /usr/local/include/malloc.h:87: syntax error before `*' >> > gmake[2]: *** [tuplelist.o] Error 1 >> > gmake[2]: Leaving directory >> > `/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/odbc' >> > gmake[1]: *** [all] Error 2 >> > gmake[1]: Leaving directory >> > `/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces' >> > gmake: *** [all] Error 2 >> > *** Error code 2 >> > >> > Stop in /usr/ports/databases/postgresql7. >> > >> > >> > Okay, so I edited tuplelist.c and commented out #include <malloc.h> : >> > the result is it compiles, but won't start. >> > >> > I took a look to malloc.h, seems ok. >> > >> > Any idea? >> > >> > >> > To Unsubscribe: send mail to majordomo@FreeBSD.org >> > with "unsubscribe freebsd-database" in the body of the message >> > >> > >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-database" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101151747.JAA00318>