Date: Thu, 10 Jul 2003 04:09:17 -0500 From: Jon Noack <noackjr@alumni.rice.edu> To: daichi <daichi@freebsd.org> Cc: ports@freebsd.org Subject: Re: gd-nox11-2.0.15 (graphics/gd-nox11) won't build Message-ID: <3F0D2D3D.1030208@alumni.rice.edu> In-Reply-To: <20030710173043.3328041a.daichi@freebsd.org> References: <3F0C5447.5000407@alumni.rice.edu> <20030710133641.7dd2bfb7.daichi@freebsd.org> <3F0D0E81.4040305@alumni.rice.edu> <20030710173043.3328041a.daichi@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Didn't work for me -- the result below is what I get for 4.8-RELEASE, 4.8-STABLE, and 5.1-RELEASE. cc -O -pipe -march=pentiumpro -c gd_wbmp.c -o gd_wbmp.o gd_wbmp.c:60: gd.h: No such file or directory gd_wbmp.c:61: gdfonts.h: No such file or directory gd_wbmp.c: In function `gd_putout': gd_wbmp.c:77: `gdIOCtx' undeclared (first use in this function) gd_wbmp.c:77: (Each undeclared identifier is reported only once gd_wbmp.c:77: for each function it appears in.) gd_wbmp.c:77: syntax error before `)' gd_wbmp.c: In function `gd_getin': gd_wbmp.c:89: `gdIOCtx' undeclared (first use in this function) gd_wbmp.c:89: syntax error before `)' gd_wbmp.c: At top level: gd_wbmp.c:103: syntax error before `image' gd_wbmp.c: In function `gdImageWBMPCtx': gd_wbmp.c:112: `image' undeclared (first use in this function) gd_wbmp.c:121: `fg' undeclared (first use in this function) gd_wbmp.c:130: `out' undeclared (first use in this function) gd_wbmp.c: At top level: gd_wbmp.c:142: syntax error before `gdImageCreateFromWBMPCtx' gd_wbmp.c:142: syntax error before `*' gd_wbmp.c: In function `gdImageCreateFromWBMPCtx': gd_wbmp.c:146: syntax error before `im' gd_wbmp.c:150: `infile' undeclared (first use in this function) gd_wbmp.c:153: `im' undeclared (first use in this function) gd_wbmp.c: At top level: gd_wbmp.c:191: syntax error before `gdImageCreateFromWBMP' gd_wbmp.c: In function `gdImageCreateFromWBMP': gd_wbmp.c:193: syntax error before `im' gd_wbmp.c:194: `gdIOCtx' undeclared (first use in this function) gd_wbmp.c:194: `in' undeclared (first use in this function) gd_wbmp.c:195: `im' undeclared (first use in this function) gd_wbmp.c: At top level: gd_wbmp.c:204: syntax error before `im' gd_wbmp.c: In function `gdImageWBMP': gd_wbmp.c:206: `gdIOCtx' undeclared (first use in this function) gd_wbmp.c:206: `out' undeclared (first use in this function) gd_wbmp.c:206: `outFile' undeclared (first use in this function) gd_wbmp.c:207: `im' undeclared (first use in this function) gd_wbmp.c:207: `fg' undeclared (first use in this function) gd_wbmp.c: At top level: gd_wbmp.c:215: syntax error before `im' gd_wbmp.c: In function `gdImageWBMPPtr': gd_wbmp.c:218: `gdIOCtx' undeclared (first use in this function) gd_wbmp.c:218: `out' undeclared (first use in this function) gd_wbmp.c:219: `im' undeclared (first use in this function) gd_wbmp.c:219: `fg' undeclared (first use in this function) gd_wbmp.c:220: `size' undeclared (first use in this function) gd_wbmp.c:220: warning: assignment makes pointer from integer without a cast *** Error code 1 Stop in /usr/ports/graphics/gd-nox11/work/gd-2.0.15. *** Error code 1 Stop in /usr/ports/graphics/gd-nox11/work/gd-2.0.15. *** Error code 1 Stop in /usr/ports/graphics/gd-nox11. Sorry, Jon Noack daichi said the following on 7/10/2003 3:30 AM: >>OK -- my original email was slightly in error. I was actually trying to >>build graphics/gd-nox11 instead of graphics/gd2. In any case, I've >>tracked the error down to gd2/files/Makefile.bsd (included from >>gd2/Makefile which is in turn included from gd-nox11/Makefile). >> >>gd-nox11/Makefile has the following defines before the include: >>WITHOUT_X11= yes >>WITHOUT_XPM= yes >> >>gd2/files/Makefile.bsd acts as if these 2 are not defined while >>gd2/Makefile obeys them. If I define them in /etc/make.conf, the build >>works fine. >> >>To sum up, the issue is that gd2/files/Makefile.bsd is not inheriting >>defined values from gd-nox11/Makefile (through gd2/Makefile). >> >>Everyone got that? good... (sorry if it was confusing) >>Jon Noack > > > Hi Jon > > I committed fix patch from KATO-san. Please update your ports tree > and check it again :) I thinks now it has no problem. > > -- > Daichi GOTO, http://people.freebsd.org/~daichi > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F0D2D3D.1030208>