Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3087 connectés 

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Compil GhostPCL

n°265138
cypress
La colline de cyprès
Posté le 20-05-2003 à 11:53:52  profilanswer
 

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 :
  1. make -f pcl6_gcc.mak


 
Cà me donne les erreurs louches suivantes :
 

Code :
  1. "pcl6_gcc.mak", ligne 76 : make : 1254-055 L'opérateur deux-points simple ou dou
  2. ble doit
  3. figurer dans les lignes de dépendance.
  4. "pcl6_gcc.mak", ligne 82 : make : 1254-055 L'opérateur deux-points simple ou dou
  5. ble doit
  6. figurer dans les lignes de dépendance.
  7. "pcl6_gcc.mak", ligne 84 : make : 1254-055 L'opérateur deux-points simple ou dou
  8. ble doit
  9. figurer dans les lignes de dépendance.
  10. "pcl6_gcc.mak", ligne 90 : make : 1254-055 L'opérateur deux-points simple ou dou
  11. ble doit
  12. figurer dans les lignes de dépendance.
  13. "pcl6_gcc.mak", ligne 92 : make : 1254-055 L'opérateur deux-points simple ou dou
  14. ble doit
  15. figurer dans les lignes de dépendance.
  16. "pcl6_gcc.mak", ligne 95 : make : 1254-055 L'opérateur deux-points simple ou dou
  17. ble doit
  18. figurer dans les lignes de dépendance.
  19. "pcl6_gcc.mak", ligne 129 : make : 1254-055 L'opérateur deux-points simple ou do
  20. uble doit
  21. figurer dans les lignes de dépendance.


 
et après çà tourne en boucle.
 
Voici le contenu du fichier pcl6_gcc.mak :
 

Code :
  1. # Define the name of this makefile.
  2. MAKEFILE=../main/pcl6_gcc.mak
  3. # define if this is a cygwin system.
  4. CYGWIN=
  5. # The build process will put all of its output in this directory:
  6. GENDIR=./obj
  7. # The sources are taken from these directories:
  8. GLSRCDIR=../gs/src
  9. PCLSRCDIR=../pcl
  10. PLSRCDIR=../pl
  11. PXLSRCDIR=../pxl
  12. COMMONDIR=../common
  13. MAINSRCDIR=../main
  14. # specify the location of zlib.  We use zlib for bandlist compression.
  15. ZSRCDIR=../gs/zlib
  16. ZGENDIR=$(GENDIR)
  17. ZOBJDIR=$(GENDIR)
  18. SHARE_ZLIB=0
  19. # specify the locate of the jpeg library.
  20. JSRCDIR=../gs/jpeg
  21. JGENDIR=$(GENDIR)
  22. JOBJDIR=$(GENDIR)
  23. # If you want to build the individual packages in their own directories,
  24. # you can define this here, although normally you won't need to do this:
  25. GLGENDIR=$(GENDIR)
  26. GLOBJDIR=$(GENDIR)
  27. PLGENDIR=$(GENDIR)
  28. PLOBJDIR=$(GENDIR)
  29. PXLGENDIR=$(GENDIR)
  30. PCLGENDIR=$(GENDIR)
  31. PXLOBJDIR=$(GENDIR)
  32. PCLOBJDIR=$(GENDIR)
  33. # Language and configuration.  These are actually platform-independent,
  34. # but we define them here just to keep all parameters in one place.
  35. TARGET_DEVS=$(PXLOBJDIR)/pxl.dev $(PCLOBJDIR)/pcl5c.dev $(PCLOBJDIR)/hpgl2c.dev
  36. TARGET_XE=$(GENDIR)/pcl6
  37. TARGET_LIB=$(GENDIR)/pcl6.a
  38. MAIN_OBJ=$(PLOBJDIR)/plmain.$(OBJ) $(PLOBJDIR)/plimpl.$(OBJ)
  39. PCL_TOP_OBJ=$(PCLOBJDIR)/pctop.$(OBJ)
  40. PXL_TOP_OBJ=$(PXLOBJDIR)/pxtop.$(OBJ)
  41. TOP_OBJ=$(PCL_TOP_OBJ) $(PXL_TOP_OBJ)
  42. # note agfa gives it libraries incompatible names so they cannot be
  43. # properly found by the linker.  Change the library names to reflect the
  44. # following (i.e. the if library should be named libif.a
  45. # NB - this should all be done automatically by choosing the device
  46. # but it ain't.
  47. # The user is responsible for building the agfa or freetype libs.  We
  48. # don't overload the makefile with nonsense to build these libraries
  49. # on the fly. If the artifex font scaler is chosen the makefiles will
  50. # build the scaler automatically.
  51. # Pick a font system technology.  PCL and XL do not need to use the
  52. # same scaler, but it is necessary to tinker/hack the makefiles to get
  53. # it to work properly.
  54. # ufst - Agfa universal font scaler.
  55. # fts - freetype font system.
  56. # afs - artifex font scaler.
  57. # 3 mutually exclusive choices follow, pick one.
  58. PL_SCALER=afs
  59. PCL_FONT_SCALER=$(PL_SCALER)
  60. PXL_FONT_SCALER=$(PL_SCALER)
  61. ifeq ($(PL_SCALER), ufst)
  62. XLDFLAGS=-Xlinker -L../pl/agfa/rts/lib/
  63. # agfa does not use normalized library names (ie we expect libif.a not
  64. # agfa's if_lib.a)
  65. EXTRALIBS=-lif -lfco -ltt
  66. 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
  67. endif
  68. ifeq ($(PL_SCALER), fts)
  69. XLDFLAGS=
  70. EXTRALIBS=-lfreetype
  71. # the second include is to find ftbuild.h referenced in the FT
  72. # tutorial.
  73. FT_INCLUDES=-I/usr/include/freetype2 -I/usr/include/freetype2/freetype/config/
  74. endif
  75. ifeq ($(PL_SCALER), afs)
  76. LDFLAGS=
  77. EXTRALIBS=
  78. endif
  79. # Assorted definitions.  Some of these should probably be factored out....
  80. # We use -O0 for debugging, because optimization confuses gdb.
  81. # Note that the omission of -Dconst= rules out the use of gcc versions
  82. # between 2.7.0 and 2.7.2 inclusive.  (2.7.2.1 is OK.)
  83. GCFLAGS=-Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings
  84. CFLAGS=-g -O0 $(GCFLAGS) $(XCFLAGS)
  85. XINCLUDE=-I/usr/local/X/include
  86. XLIBDIRS=-L/usr/X11/lib -L/usr/X11R6/lib
  87. XLIBDIR=
  88. XLIBS=Xt SM ICE Xext X11
  89. CCLD=gcc
  90. DD='$(GLGENDIR)$(D)'
  91. DEVICES_DEVS=$(DD)ljet4.dev $(DD)djet500.dev $(DD)cljet5pr.dev $(DD)cljet5c.dev $(DD)bitcmyk.dev\
  92.    $(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcxcmyk.dev $(DD)pswrite.dev $(DD)pdfwrite2.dev\
  93.    $(DD)pxlmono.dev $(DD)pxlcolor.dev\
  94.    $(DD)bmpmono.dev $(DD)pbmraw.dev $(DD)pgmraw.dev $(DD)ppmraw.dev $(DD)jpeg.dev
  95. FEATURE_DEVS=$(DD)colimlib.dev $(DD)dps2lib.dev $(DD)path1lib.dev\
  96.      $(DD)patlib.dev $(DD)psl2cs.dev $(DD)rld.dev $(DD)roplib.dev\
  97.              $(DD)ttflib.dev  $(DD)cielib.dev $(DD)pipe.dev $(DD)htxlib.dev\
  98.      $(DD)gsnogc.dev $(DD)sdctd.dev\
  99.      $(DD)psl3lib.dev $(DD)seprlib.dev $(DD)translib.dev\
  100.      $(DD)cidlib.dev $(DD)psf1lib.dev $(DD)psf0lib.dev
  101. # cygwin does not have threads at this time, so we don't include the
  102. # thread library or asyncronous devices.  Also cygwin does not include
  103. # X by default so we do not include the X devices either.
  104. ifeq ($(CYGWIN), TRUE)
  105. SYNC=
  106. STDLIBS=-lm
  107. DEVICE_DEVS=$(DEVICES_DEVS)
  108. else
  109. SYNC=posync
  110. STDLIBS=-lm -lpthread
  111. DEVICE_DEVS=$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11mono.dev $(DD)x11cmyk.dev $(DEVICES_DEVS) $(DD)bmpamono.dev $(DD)bmpa16m.dev
  112. endif
  113. # Generic makefile
  114. include $(COMMONDIR)/ugcc_top.mak
  115. # Subsystems
  116. include $(PLSRCDIR)/pl.mak
  117. include $(PXLSRCDIR)/pxl.mak
  118. include $(PCLSRCDIR)/pcl.mak
  119. # Main program.
  120. default: $(TARGET_XE)$(XE)
  121. echo Done.
  122. clean: config-clean clean-not-config-clean
  123. clean-not-config-clean: pl.clean-not-config-clean pxl.clean-not-config-clean
  124. $(RMN_) $(TARGET_XE)$(XE)
  125. config-clean: pl.config-clean pxl.config-clean
  126. $(RMN_) *.tr $(GD)devs.tr$(CONFIG) $(GD)ld.tr
  127. $(RMN_) $(PXLGEN)pconf.h $(PXLGEN)pconfig.h
  128. lib: $(TARGET_LIB)
  129. echo Done lib.
  130. #### Implementation stub
  131. $(PLOBJDIR)plimpl.$(OBJ): $(PLSRCDIR)plimpl.c \
  132.                         $(memory__h)          \
  133.                         $(scommon_h)          \
  134.                         $(gxdevice_h)         \
  135.                         $(pltop_h)


 
La 1ère ligne 76 désigne :

Code :
  1. 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
mood
Publicité
Posté le 20-05-2003 à 11:53:52  profilanswer
 


Aller à :
Ajouter une réponse
 

Sujets relatifs
Question pour quelques options de compil du noyau...erreur de compil : ld sseg fault
erreurs de compil noyal avec le smp désactivé[Debian]compil du noyau $ bzimage
option et compil du noyeau[Compil qui chie] Aidez moi
Pb de compil gentoo[debian] compil kernel 2.4.20 -> lilo cassé. initrd??
[ DEBIAN ] Compil de kernel : truc bizarre[ RedHat ] compil du noyau lors de l'install
Plus de sujets relatifs à : Compil GhostPCL


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)