Date: Wed, 20 Jun 2012 13:52:43 +0200 From: Florent Peterschmitt <fpeterscom@gmail.com> To: ports@freebsd.org Subject: print/ghostscript9 build fail : vga.h not found Message-ID: <4FE1B98B.5040507@gmail.com>
next in thread | raw e-mail | index | archive | help
sudo make MAKE_ARGS= cc -DHAVE_MKSTEMP -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2 -DHAVE_DBUS -O2 -pipe -fno-strict-aliasing -fPIC -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript9/work/ghostscript-9.05/lcms/include -I/usr/local/include/libpng -I/usr/ports/print/ghostscript9/work/ghostscript-9.05/openjpeg/libopenjpeg -I/usr/ports/print/ghostscript9/work/ghostscript-9.05/openjpeg -I/usr/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_SYS_TIME_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -pipe -fno-strict-aliasing -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/usr/local/include -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/9.05\" -fPIC -I./soobj -I./base -DWHICH_CMS="lcms2" -o ./soobj/gdevl256.o -c ./base/gdevl256.c ./base/gdevl256.c:33:17: error: vga.h: No such file or directory ./base/gdevl256.c:34:19: error: vgagl.h: No such file or directory ./base/gdevl256.c: In function 'lvga256_open': ./base/gdevl256.c:104: warning: implicit declaration of function 'vga_init' ./base/gdevl256.c:105: warning: implicit declaration of function 'vga_getdefaultmode' ./base/gdevl256.c:107: error: 'G320x200x256' undeclared (first use in this function) ./base/gdevl256.c:107: error: (Each undeclared identifier is reported only once ./base/gdevl256.c:107: error: for each function it appears in.) ./base/gdevl256.c:108: warning: implicit declaration of function 'vga_setmode' ./base/gdevl256.c:109: warning: implicit declaration of function 'gl_setcontextvga' ./base/gdevl256.c:110: warning: implicit declaration of function 'vga_getxdim' ./base/gdevl256.c:111: warning: implicit declaration of function 'vga_getydim' ./base/gdevl256.c:122: warning: implicit declaration of function 'gl_setpalettecolor' ./base/gdevl256.c: In function 'lvga256_close': ./base/gdevl256.c:136: error: 'TEXT' undeclared (first use in this function) ./base/gdevl256.c: In function 'lvga256_map_rgb_color': ./base/gdevl256.c:150: warning: ISO C90 forbids mixed declarations and code ./base/gdevl256.c: In function 'lvga256_copy_mono': ./base/gdevl256.c:227: warning: implicit declaration of function 'gl_fillbox' ./base/gdevl256.c:238: warning: implicit declaration of function 'gl_setpixel' ./base/gdevl256.c: In function 'lvga256_copy_color': ./base/gdevl256.c:261: warning: implicit declaration of function 'gl_putbox' ./base/gdevl256.c: In function 'lvga256_draw_line': ./base/gdevl256.c:301: warning: implicit declaration of function 'gl_line' gmake[2]: *** [soobj/gdevl256.o] Erreur 1 gmake[2]: *** Attente des tâches non terminées.... gmake[2] : on quitte le répertoire « /usr/ports/print/ghostscript9/work/ghostscript-9.05 » gmake[1]: *** [so-subtarget] Erreur 2 gmake[1] : on quitte le répertoire « /usr/ports/print/ghostscript9/work/ghostscript-9.05 » gmake: *** [so] Erreur 2 *** Error code 1 Stop in /usr/ports/print/ghostscript9. *** Error code 1 Stop in /usr/ports/print/ghostscript9. Problem : no vga.h in my system, even in source tree.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE1B98B.5040507>