staging.inyokaproject.org

Dymo LabelManager PnP -> Fehler beim kompilieren des Treibers

Status: Ungelöst | Ubuntu-Version: Ubuntu 17.04 (Zesty Zapus)
Antworten |

Feuerpfeil

Anmeldungsdatum:
25. April 2017

Beiträge: Zähle...

Hallo zusammen,

ich versuche den o.G. LabelWriter einzurichten und scheitere am kompilieren. Laut diversen How-To's bin ich wie folgt vorgegangen :

Download des Treibers (dymo-cups-drivers-1.4.0.tar.gz), entpackt und ins Verzeichnis (dymo-cups-drivers-1.4.0.5) gewechselt sudo apt-get install libcups2-dev libcupsimage2-dev gcc g++ sudo ./configure sudo ./make

sudo ./configure gibt mir die folgende Ausgabe :

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/missing: Unknown `--run' option
Try `/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for cups-config... /usr/bin/cups-config
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for cupsMarkOptions in -lcups... yes
checking for cupsRasterReadHeader in -lcupsimage... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking cups/raster.h usability... yes
checking cups/raster.h presence... yes
checking for cups/raster.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for memset... yes
checking for strcasecmp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/common/tests/Makefile
config.status: creating src/lm/Makefile
config.status: creating src/lm/tests/Makefile
config.status: creating src/lw/Makefile
config.status: creating src/lw/tests/Makefile
config.status: creating ppd/Makefile
config.status: creating docs/Makefile
config.status: creating samples/Makefile
config.status: creating samples/paper_list/Makefile
config.status: creating samples/paper_bounds/Makefile
config.status: creating samples/test_label/Makefile
config.status: creating samples/custom_paper/Makefile
config.status: creating samples/custom_paper_tape/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands

sudo make läuft dann in Fehler :

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
Making all in src
make[1]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src“ wird betreten
make  all-recursive
make[2]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src“ wird betreten
Making all in lw
make[3]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src/lw“ wird betreten
Making all in tests
make[4]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src/lw/tests“ wird betreten
make[4]: Für das Ziel „all“ ist nichts zu tun.
make[4]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src/lw/tests“ wird verlassen
make[4]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src/lw“ wird betreten
g++ -DHAVE_CONFIG_H -I. -I../../src -I../common    -O2 -Wall -Wno-unknown-pragmas   -MT raster2dymolw.o -MD -MP -MF .deps/raster2dymolw.Tpo -c -o raster2dymolw.o raster2dymolw.cpp
In file included from raster2dymolw.cpp:37:0:
../common/CupsFilter.h: In member function ‘int DymoPrinterDriver::CCupsFilter<D, DI, LM>::Run(int, char**)’:
../common/CupsFilter.h:135:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     std::auto_ptr<CHalftoneFilter> H;
          ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from raster2dymolw.cpp:28:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from raster2dymolw.cpp:37:0:
../common/CupsFilter.h: In member function ‘void DymoPrinterDriver::CCupsFilter<D, DI, LM>::InitDocument(const char*)’:
../common/CupsFilter.h:218:3: error: ‘ppd_file_t’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
   ^~~~~~~~~~
../common/CupsFilter.h:218:15: error: ‘ppd’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
               ^~~
../common/CupsFilter.h:218:46: error: there are no arguments to ‘ppdOpenFile’ that depend on a template parameter, so a declaration of ‘ppdOpenFile’ must be available [-fpermissive]
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
                                              ^
../common/CupsFilter.h:218:46: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../common/CupsFilter.h:228:22: error: there are no arguments to ‘ppdMarkDefaults’ that depend on a template parameter, so a declaration of ‘ppdMarkDefaults’ must be available [-fpermissive]
   ppdMarkDefaults(ppd);
                      ^
../common/CupsFilter.h:234:59: error: there are no arguments to ‘ppdMarkOption’ that depend on a template parameter, so a declaration of ‘ppdMarkOption’ must be available [-fpermissive]
       ppdMarkOption(ppd, Options[i].name, Options[i].value);
                                                           ^
../common/CupsFilter.h:238:44: error: there are no arguments to ‘cupsMarkOptions’ that depend on a template parameter, so a declaration of ‘cupsMarkOptions’ must be available [-fpermissive]
   cupsMarkOptions(ppd, OptionCount, Options);
                                            ^
../common/CupsFilter.h:243:3: error: ‘ppd_choice_t’ was not declared in this scope
   ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
   ^~~~~~~~~~~~
../common/CupsFilter.h:243:17: error: ‘choice’ was not declared in this scope
   ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
                 ^~~~~~
../common/CupsFilter.h:243:67: error: there are no arguments to ‘ppdFindMarkedChoice’ that depend on a template parameter, so a declaration of ‘ppdFindMarkedChoice’ must be available [-fpermissive]
   ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
                                                                   ^
../common/CupsFilter.h:248:15: error: there are no arguments to ‘ppdClose’ that depend on a template parameter, so a declaration of ‘ppdClose’ must be available [-fpermissive]
   ppdClose(ppd);
               ^
In file included from raster2dymolw.cpp:38:0:
CupsFilterLabelWriter.h: At global scope:
CupsFilterLabelWriter.h:36:89: error: ‘ppd_file_t’ has not been declared
   static void ProcessPPDOptions (CLabelWriterDriver& Driver, CDummyLanguageMonitor& LM, ppd_file_t* ppd);
                                                                                         ^~~~~~~~~~
CupsFilterLabelWriter.h:43:98: error: ‘ppd_file_t’ has not been declared
   static void ProcessPPDOptions (CLabelWriterDriverTwinTurbo& Driver, CDummyLanguageMonitor& LM, ppd_file_t* ppd);
                                                                                                  ^~~~~~~~~~
In file included from raster2dymolw.cpp:38:0:
CupsFilterLabelWriter.h:50:95: error: ‘ppd_file_t’ has not been declared
   static void ProcessPPDOptions (CLabelWriterDriver& Driver, CLabelWriterLanguageMonitor& LM, ppd_file_t* ppd);
                                                                                               ^~~~~~~~~~
CupsFilterLabelWriter.h:58:104: error: ‘ppd_file_t’ has not been declared
   static void ProcessPPDOptions (CLabelWriterDriverTwinTurbo& Driver, CLabelWriterLanguageMonitor& LM, ppd_file_t* ppd);
                                                                                                        ^~~~~~~~~~
raster2dymolw.cpp: In function ‘int main(int, char**)’:
raster2dymolw.cpp:60:3: error: ‘ppd_file_t’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
   ^~~~~~~~~~
raster2dymolw.cpp:60:15: error: ‘ppd’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
               ^~~
raster2dymolw.cpp:60:46: error: ‘ppdOpenFile’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
                                              ^
In file included from raster2dymolw.cpp:37:0:
../common/CupsFilter.h: In instantiation of ‘void DymoPrinterDriver::CCupsFilter<D, DI, LM>::InitDocument(const char*) [with D = DymoPrinterDriver::CLabelWriterDriver; DI = DymoPrinterDriver::CDriverInitializerLabelWriterWithLM; LM = DymoPrinterDriver::CLabelWriterLanguageMonitor]’:
../common/CupsFilter.h:99:15:   required from ‘int DymoPrinterDriver::CCupsFilter<D, DI, LM>::Run(int, char**) [with D = DymoPrinterDriver::CLabelWriterDriver; DI = DymoPrinterDriver::CDriverInitializerLabelWriterWithLM; LM = DymoPrinterDriver::CLabelWriterLanguageMonitor]’
raster2dymolw.cpp:68:35:   required from here
../common/CupsFilter.h:218:32: error: ‘ppdOpenFile’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
                     ~~~~~~~~~~~^~~~~~~~~~~~~~~
../common/CupsFilter.h:228:18: error: ‘ppdMarkDefaults’ was not declared in this scope
   ppdMarkDefaults(ppd);
   ~~~~~~~~~~~~~~~^~~~~
../common/CupsFilter.h:234:20: error: ‘ppdMarkOption’ was not declared in this scope
       ppdMarkOption(ppd, Options[i].name, Options[i].value);
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:238:18: error: ‘cupsMarkOptions’ was not declared in this scope
   cupsMarkOptions(ppd, OptionCount, Options);
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:243:45: error: ‘ppdFindMarkedChoice’ was not declared in this scope
   ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
                          ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:248:11: error: ‘ppdClose’ was not declared in this scope
   ppdClose(ppd);
   ~~~~~~~~^~~~~
../common/CupsFilter.h: In instantiation of ‘void DymoPrinterDriver::CCupsFilter<D, DI, LM>::InitDocument(const char*) [with D = DymoPrinterDriver::CLabelWriterDriver; DI = DymoPrinterDriver::CDriverInitializerLabelWriter; LM = DymoPrinterDriver::CDummyLanguageMonitor]’:
../common/CupsFilter.h:99:15:   required from ‘int DymoPrinterDriver::CCupsFilter<D, DI, LM>::Run(int, char**) [with D = DymoPrinterDriver::CLabelWriterDriver; DI = DymoPrinterDriver::CDriverInitializerLabelWriter; LM = DymoPrinterDriver::CDummyLanguageMonitor]’
raster2dymolw.cpp:73:35:   required from here
../common/CupsFilter.h:218:32: error: ‘ppdOpenFile’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
                     ~~~~~~~~~~~^~~~~~~~~~~~~~~
../common/CupsFilter.h:228:18: error: ‘ppdMarkDefaults’ was not declared in this scope
   ppdMarkDefaults(ppd);
   ~~~~~~~~~~~~~~~^~~~~
../common/CupsFilter.h:234:20: error: ‘ppdMarkOption’ was not declared in this scope
       ppdMarkOption(ppd, Options[i].name, Options[i].value);
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:238:18: error: ‘cupsMarkOptions’ was not declared in this scope
   cupsMarkOptions(ppd, OptionCount, Options);
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:243:45: error: ‘ppdFindMarkedChoice’ was not declared in this scope
   ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
                          ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:248:11: error: ‘ppdClose’ was not declared in this scope
   ppdClose(ppd);
   ~~~~~~~~^~~~~
../common/CupsFilter.h: In instantiation of ‘void DymoPrinterDriver::CCupsFilter<D, DI, LM>::InitDocument(const char*) [with D = DymoPrinterDriver::CLabelWriterDriverTwinTurbo; DI = DymoPrinterDriver::CDriverInitializerLabelWriterTwinTurboWithLM; LM = DymoPrinterDriver::CLabelWriterLanguageMonitor]’:
../common/CupsFilter.h:99:15:   required from ‘int DymoPrinterDriver::CCupsFilter<D, DI, LM>::Run(int, char**) [with D = DymoPrinterDriver::CLabelWriterDriverTwinTurbo; DI = DymoPrinterDriver::CDriverInitializerLabelWriterTwinTurboWithLM; LM = DymoPrinterDriver::CLabelWriterLanguageMonitor]’
raster2dymolw.cpp:84:37:   required from here
../common/CupsFilter.h:218:32: error: ‘ppdOpenFile’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
                     ~~~~~~~~~~~^~~~~~~~~~~~~~~
../common/CupsFilter.h:228:18: error: ‘ppdMarkDefaults’ was not declared in this scope
   ppdMarkDefaults(ppd);
   ~~~~~~~~~~~~~~~^~~~~
../common/CupsFilter.h:234:20: error: ‘ppdMarkOption’ was not declared in this scope
       ppdMarkOption(ppd, Options[i].name, Options[i].value);
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:238:18: error: ‘cupsMarkOptions’ was not declared in this scope
   cupsMarkOptions(ppd, OptionCount, Options);
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:243:45: error: ‘ppdFindMarkedChoice’ was not declared in this scope
   ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
                          ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:248:11: error: ‘ppdClose’ was not declared in this scope
   ppdClose(ppd);
   ~~~~~~~~^~~~~
../common/CupsFilter.h: In instantiation of ‘void DymoPrinterDriver::CCupsFilter<D, DI, LM>::InitDocument(const char*) [with D = DymoPrinterDriver::CLabelWriterDriverTwinTurbo; DI = DymoPrinterDriver::CDriverInitializerLabelWriterTwinTurbo; LM = DymoPrinterDriver::CDummyLanguageMonitor]’:
../common/CupsFilter.h:99:15:   required from ‘int DymoPrinterDriver::CCupsFilter<D, DI, LM>::Run(int, char**) [with D = DymoPrinterDriver::CLabelWriterDriverTwinTurbo; DI = DymoPrinterDriver::CDriverInitializerLabelWriterTwinTurbo; LM = DymoPrinterDriver::CDummyLanguageMonitor]’
raster2dymolw.cpp:89:37:   required from here
../common/CupsFilter.h:218:32: error: ‘ppdOpenFile’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
                     ~~~~~~~~~~~^~~~~~~~~~~~~~~
../common/CupsFilter.h:228:18: error: ‘ppdMarkDefaults’ was not declared in this scope
   ppdMarkDefaults(ppd);
   ~~~~~~~~~~~~~~~^~~~~
../common/CupsFilter.h:234:20: error: ‘ppdMarkOption’ was not declared in this scope
       ppdMarkOption(ppd, Options[i].name, Options[i].value);
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:238:18: error: ‘cupsMarkOptions’ was not declared in this scope
   cupsMarkOptions(ppd, OptionCount, Options);
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:243:45: error: ‘ppdFindMarkedChoice’ was not declared in this scope
   ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
                          ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:248:11: error: ‘ppdClose’ was not declared in this scope
   ppdClose(ppd);
   ~~~~~~~~^~~~~
../common/CupsFilter.h: In instantiation of ‘void DymoPrinterDriver::CCupsFilter<D, DI, LM>::InitDocument(const char*) [with D = DymoPrinterDriver::CLabelWriterDriver400; DI = DymoPrinterDriver::CDriverInitializerLabelWriterWithLM; LM = DymoPrinterDriver::CLabelWriterLanguageMonitor]’:
../common/CupsFilter.h:99:15:   required from ‘int DymoPrinterDriver::CCupsFilter<D, DI, LM>::Run(int, char**) [with D = DymoPrinterDriver::CLabelWriterDriver400; DI = DymoPrinterDriver::CDriverInitializerLabelWriterWithLM; LM = DymoPrinterDriver::CLabelWriterLanguageMonitor]’
raster2dymolw.cpp:103:37:   required from here
../common/CupsFilter.h:218:32: error: ‘ppdOpenFile’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
                     ~~~~~~~~~~~^~~~~~~~~~~~~~~
../common/CupsFilter.h:228:18: error: ‘ppdMarkDefaults’ was not declared in this scope
   ppdMarkDefaults(ppd);
   ~~~~~~~~~~~~~~~^~~~~
../common/CupsFilter.h:234:20: error: ‘ppdMarkOption’ was not declared in this scope
       ppdMarkOption(ppd, Options[i].name, Options[i].value);
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:238:18: error: ‘cupsMarkOptions’ was not declared in this scope
   cupsMarkOptions(ppd, OptionCount, Options);
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:243:45: error: ‘ppdFindMarkedChoice’ was not declared in this scope
   ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
                          ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:248:11: error: ‘ppdClose’ was not declared in this scope
   ppdClose(ppd);
   ~~~~~~~~^~~~~
../common/CupsFilter.h: In instantiation of ‘void DymoPrinterDriver::CCupsFilter<D, DI, LM>::InitDocument(const char*) [with D = DymoPrinterDriver::CLabelWriterDriver400; DI = DymoPrinterDriver::CDriverInitializerLabelWriter; LM = DymoPrinterDriver::CDummyLanguageMonitor]’:
../common/CupsFilter.h:99:15:   required from ‘int DymoPrinterDriver::CCupsFilter<D, DI, LM>::Run(int, char**) [with D = DymoPrinterDriver::CLabelWriterDriver400; DI = DymoPrinterDriver::CDriverInitializerLabelWriter; LM = DymoPrinterDriver::CDummyLanguageMonitor]’
raster2dymolw.cpp:108:37:   required from here
../common/CupsFilter.h:218:32: error: ‘ppdOpenFile’ was not declared in this scope
   ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
                     ~~~~~~~~~~~^~~~~~~~~~~~~~~
../common/CupsFilter.h:228:18: error: ‘ppdMarkDefaults’ was not declared in this scope
   ppdMarkDefaults(ppd);
   ~~~~~~~~~~~~~~~^~~~~
../common/CupsFilter.h:234:20: error: ‘ppdMarkOption’ was not declared in this scope
       ppdMarkOption(ppd, Options[i].name, Options[i].value);
       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:238:18: error: ‘cupsMarkOptions’ was not declared in this scope
   cupsMarkOptions(ppd, OptionCount, Options);
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:243:45: error: ‘ppdFindMarkedChoice’ was not declared in this scope
   ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
                          ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:248:11: error: ‘ppdClose’ was not declared in this scope
   ppdClose(ppd);
   ~~~~~~~~^~~~~
Makefile:345: die Regel für Ziel „raster2dymolw.o“ scheiterte
make[4]: *** [raster2dymolw.o] Fehler 1
make[4]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src/lw“ wird verlassen
Makefile:435: die Regel für Ziel „all-recursive“ scheiterte
make[3]: *** [all-recursive] Fehler 1
make[3]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src/lw“ wird verlassen
Makefile:262: die Regel für Ziel „all-recursive“ scheiterte
make[2]: *** [all-recursive] Fehler 1
make[2]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src“ wird verlassen
Makefile:204: die Regel für Ziel „all“ scheiterte
make[1]: *** [all] Fehler 2
make[1]: Verzeichnis „/home/admin/Downloads/dymo-cups-drivers-1.4.0.5/src“ wird verlassen
Makefile:263: die Regel für Ziel „all-recursive“ scheiterte
make: *** [all-recursive] Fehler 1

Weiß hier vielleicht jemand weiter ?

Danke und Gruß, Feuerpfeil

GHPS

Anmeldungsdatum:
26. März 2015

Beiträge: Zähle...

> Weiß hier vielleicht jemand weiter ?

Inzwischen ist der Code etwas angestaubt und erfordert einige Änderungen, um lauffähig zu sein.

Aber auf github hat sich matthiasbock die Mühe gemacht, den Treiber auf aktuelle Versionen von c und von libcups* zu aktualisieren.[1]

Dieser Version compiliert problemlos (beispielsweise unter Kubuntu 18.04).

1: https://github.com/matthiasbock/dymo-cups-drivers

Antworten |