cypress La colline de cyprès | Salut,
J'ai compilé GhostPCL sous Linux en suivant la docu officielle ==> aucun pb.
Par contre j'essaie de compiler GhostPCL sous AIX 4.3.3 avec gcc et là ya une merde.
Quand je lance :
Code :
- make -f pcl6_gcc.mak
|
Cà me donne les erreurs louches suivantes :
Code :
- "pcl6_gcc.mak", ligne 76 : make : 1254-055 L'opérateur deux-points simple ou dou
- ble doit
- figurer dans les lignes de dépendance.
- "pcl6_gcc.mak", ligne 82 : make : 1254-055 L'opérateur deux-points simple ou dou
- ble doit
- figurer dans les lignes de dépendance.
- "pcl6_gcc.mak", ligne 84 : make : 1254-055 L'opérateur deux-points simple ou dou
- ble doit
- figurer dans les lignes de dépendance.
- "pcl6_gcc.mak", ligne 90 : make : 1254-055 L'opérateur deux-points simple ou dou
- ble doit
- figurer dans les lignes de dépendance.
- "pcl6_gcc.mak", ligne 92 : make : 1254-055 L'opérateur deux-points simple ou dou
- ble doit
- figurer dans les lignes de dépendance.
- "pcl6_gcc.mak", ligne 95 : make : 1254-055 L'opérateur deux-points simple ou dou
- ble doit
- figurer dans les lignes de dépendance.
- "pcl6_gcc.mak", ligne 129 : make : 1254-055 L'opérateur deux-points simple ou do
- uble doit
- figurer dans les lignes de dépendance.
|
et après çà tourne en boucle.
Voici le contenu du fichier pcl6_gcc.mak :
Code :
- # Define the name of this makefile.
- MAKEFILE=../main/pcl6_gcc.mak
- # define if this is a cygwin system.
- CYGWIN=
- # The build process will put all of its output in this directory:
- GENDIR=./obj
- # The sources are taken from these directories:
- GLSRCDIR=../gs/src
- PCLSRCDIR=../pcl
- PLSRCDIR=../pl
- PXLSRCDIR=../pxl
- COMMONDIR=../common
- MAINSRCDIR=../main
- # specify the location of zlib. We use zlib for bandlist compression.
- ZSRCDIR=../gs/zlib
- ZGENDIR=$(GENDIR)
- ZOBJDIR=$(GENDIR)
- SHARE_ZLIB=0
- # specify the locate of the jpeg library.
- JSRCDIR=../gs/jpeg
- JGENDIR=$(GENDIR)
- JOBJDIR=$(GENDIR)
- # If you want to build the individual packages in their own directories,
- # you can define this here, although normally you won't need to do this:
- GLGENDIR=$(GENDIR)
- GLOBJDIR=$(GENDIR)
- PLGENDIR=$(GENDIR)
- PLOBJDIR=$(GENDIR)
- PXLGENDIR=$(GENDIR)
- PCLGENDIR=$(GENDIR)
- PXLOBJDIR=$(GENDIR)
- PCLOBJDIR=$(GENDIR)
- # Language and configuration. These are actually platform-independent,
- # but we define them here just to keep all parameters in one place.
- TARGET_DEVS=$(PXLOBJDIR)/pxl.dev $(PCLOBJDIR)/pcl5c.dev $(PCLOBJDIR)/hpgl2c.dev
- TARGET_XE=$(GENDIR)/pcl6
- TARGET_LIB=$(GENDIR)/pcl6.a
- MAIN_OBJ=$(PLOBJDIR)/plmain.$(OBJ) $(PLOBJDIR)/plimpl.$(OBJ)
- PCL_TOP_OBJ=$(PCLOBJDIR)/pctop.$(OBJ)
- PXL_TOP_OBJ=$(PXLOBJDIR)/pxtop.$(OBJ)
- TOP_OBJ=$(PCL_TOP_OBJ) $(PXL_TOP_OBJ)
- # note agfa gives it libraries incompatible names so they cannot be
- # properly found by the linker. Change the library names to reflect the
- # following (i.e. the if library should be named libif.a
- # NB - this should all be done automatically by choosing the device
- # but it ain't.
- # The user is responsible for building the agfa or freetype libs. We
- # don't overload the makefile with nonsense to build these libraries
- # on the fly. If the artifex font scaler is chosen the makefiles will
- # build the scaler automatically.
- # Pick a font system technology. PCL and XL do not need to use the
- # same scaler, but it is necessary to tinker/hack the makefiles to get
- # it to work properly.
- # ufst - Agfa universal font scaler.
- # fts - freetype font system.
- # afs - artifex font scaler.
- # 3 mutually exclusive choices follow, pick one.
- PL_SCALER=afs
- PCL_FONT_SCALER=$(PL_SCALER)
- PXL_FONT_SCALER=$(PL_SCALER)
- ifeq ($(PL_SCALER), ufst)
- XLDFLAGS=-Xlinker -L../pl/agfa/rts/lib/
- # agfa does not use normalized library names (ie we expect libif.a not
- # agfa's if_lib.a)
- EXTRALIBS=-lif -lfco -ltt
- AGFA_INCLUDES=-I../pl/agfa/rts/inc/ -I../pl/agfa/sys/inc/ -I../pl/agfa/rts/fco/ -I../pl/agfa/rts/gray/ -DAGFA_FONT_TABLE
- endif
- ifeq ($(PL_SCALER), fts)
- XLDFLAGS=
- EXTRALIBS=-lfreetype
- # the second include is to find ftbuild.h referenced in the FT
- # tutorial.
- FT_INCLUDES=-I/usr/include/freetype2 -I/usr/include/freetype2/freetype/config/
- endif
- ifeq ($(PL_SCALER), afs)
- LDFLAGS=
- EXTRALIBS=
- endif
- # Assorted definitions. Some of these should probably be factored out....
- # We use -O0 for debugging, because optimization confuses gdb.
- # Note that the omission of -Dconst= rules out the use of gcc versions
- # between 2.7.0 and 2.7.2 inclusive. (2.7.2.1 is OK.)
- GCFLAGS=-Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings
- CFLAGS=-g -O0 $(GCFLAGS) $(XCFLAGS)
- XINCLUDE=-I/usr/local/X/include
- XLIBDIRS=-L/usr/X11/lib -L/usr/X11R6/lib
- XLIBDIR=
- XLIBS=Xt SM ICE Xext X11
- CCLD=gcc
- DD='$(GLGENDIR)$(D)'
- DEVICES_DEVS=$(DD)ljet4.dev $(DD)djet500.dev $(DD)cljet5pr.dev $(DD)cljet5c.dev $(DD)bitcmyk.dev\
- $(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcxcmyk.dev $(DD)pswrite.dev $(DD)pdfwrite2.dev\
- $(DD)pxlmono.dev $(DD)pxlcolor.dev\
- $(DD)bmpmono.dev $(DD)pbmraw.dev $(DD)pgmraw.dev $(DD)ppmraw.dev $(DD)jpeg.dev
- FEATURE_DEVS=$(DD)colimlib.dev $(DD)dps2lib.dev $(DD)path1lib.dev\
- $(DD)patlib.dev $(DD)psl2cs.dev $(DD)rld.dev $(DD)roplib.dev\
- $(DD)ttflib.dev $(DD)cielib.dev $(DD)pipe.dev $(DD)htxlib.dev\
- $(DD)gsnogc.dev $(DD)sdctd.dev\
- $(DD)psl3lib.dev $(DD)seprlib.dev $(DD)translib.dev\
- $(DD)cidlib.dev $(DD)psf1lib.dev $(DD)psf0lib.dev
- # cygwin does not have threads at this time, so we don't include the
- # thread library or asyncronous devices. Also cygwin does not include
- # X by default so we do not include the X devices either.
- ifeq ($(CYGWIN), TRUE)
- SYNC=
- STDLIBS=-lm
- DEVICE_DEVS=$(DEVICES_DEVS)
- else
- SYNC=posync
- STDLIBS=-lm -lpthread
- DEVICE_DEVS=$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11mono.dev $(DD)x11cmyk.dev $(DEVICES_DEVS) $(DD)bmpamono.dev $(DD)bmpa16m.dev
- endif
- # Generic makefile
- include $(COMMONDIR)/ugcc_top.mak
- # Subsystems
- include $(PLSRCDIR)/pl.mak
- include $(PXLSRCDIR)/pxl.mak
- include $(PCLSRCDIR)/pcl.mak
- # Main program.
- default: $(TARGET_XE)$(XE)
- echo Done.
- clean: config-clean clean-not-config-clean
- clean-not-config-clean: pl.clean-not-config-clean pxl.clean-not-config-clean
- $(RMN_) $(TARGET_XE)$(XE)
- config-clean: pl.config-clean pxl.config-clean
- $(RMN_) *.tr $(GD)devs.tr$(CONFIG) $(GD)ld.tr
- $(RMN_) $(PXLGEN)pconf.h $(PXLGEN)pconfig.h
- lib: $(TARGET_LIB)
- echo Done lib.
- #### Implementation stub
- $(PLOBJDIR)plimpl.$(OBJ): $(PLSRCDIR)plimpl.c \
- $(memory__h) \
- $(scommon_h) \
- $(gxdevice_h) \
- $(pltop_h)
|
La 1ère ligne 76 désigne : Code :
- ifeq ($(PL_SCALER), ufst)
|
Je vois pas le pb.
Qqun voit d'où çà vient ? Merci !!
 ---------------
Savoir c'est vivre, et maintenir dans l'ignorance c'est presque un homicide
|