Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using make command #9

Open
EnriGrossi opened this issue Oct 30, 2020 · 4 comments
Open

Error using make command #9

EnriGrossi opened this issue Oct 30, 2020 · 4 comments

Comments

@EnriGrossi
Copy link

Hi,
with make command i get the following error:

../common/CupsPrintEnvironment.cpp: In member function ‘virtual void DymoPrinterDriver::CCupsPrintEnvironmentForLM::ReadData(DymoPrinterDriver::buffer_t&)’: ../common/CupsPrintEnvironment.cpp:139:23: error: ‘cupsBackChannelRead’ was not declared in this scope 139 | ssize_t bytesRead = cupsBackChannelRead((char*)buf, sizeof(buf), 2.5); | ^~~~~~~~~~~~~~~~~~~

Thank you very much

Enri

@Kyle-Falconer
Copy link
Owner

Hi, can you provide some additional information such as what environment you're running and what commands you used to get to this point?

@EnriGrossi
Copy link
Author

EnriGrossi commented Nov 2, 2020

I'm using Ubuntu 20.04 and this is the command sequence:

`sudo apt-get install git libcups2-dev libcupsimage2-dev gcc g++ automake

cd ~/
git clone https://github.com/Kyle-Falconer/DYMO-SDK-for-Linux.git
cd DYMO-SDK-for-Linux
aclocal
automake --add-missing
autoconf
./configure
make`

@SeaLife
Copy link

SeaLife commented Dec 25, 2020

Hey!

We'r getting the exact same issue on a Ubuntu 20.10 Installation.

Its a fresh installlation of Ubuntu and we'r getting the following error:

g++ -DHAVE_CONFIG_H -I. -I../../src -I../common    -O2 -Wall -Wno-unknown-pragmas   -MT CupsPrintEnvironment.o -MD -MP -MF .deps/CupsPrintEnvironment.Tpo -c -o CupsPrintEnvironment.o `test -f '../common/CupsPrintEnvironment.cpp' || echo './'`../common/CupsPrintEnvironment.cpp
../common/CupsPrintEnvironment.cpp: In member function ‘virtual void DymoPrinterDriver::CCupsPrintEnvironmentForLM::ReadData(DymoPrinterDriver::buffer_t&)’:
../common/CupsPrintEnvironment.cpp:139:23: error: ‘cupsBackChannelRead’ was not declared in this scope
  139 |   ssize_t bytesRead = cupsBackChannelRead((char*)buf, sizeof(buf), 2.5);
      |                       ^~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:494: CupsPrintEnvironment.o] Fehler 1
make[4]: Verzeichnis „/home/lappi/Downloads/DYMO-SDK-for-Linux/src/lw“ wird verlassen
make[3]: *** [Makefile:570: all-recursive] Fehler 1
make[3]: Verzeichnis „/home/lappi/Downloads/DYMO-SDK-for-Linux/src/lw“ wird verlassen
make[2]: *** [Makefile:355: all-recursive] Fehler 1
make[2]: Verzeichnis „/home/lappi/Downloads/DYMO-SDK-for-Linux/src“ wird verlassen
make[1]: *** [Makefile:300: all] Fehler 2
make[1]: Verzeichnis „/home/lappi/Downloads/DYMO-SDK-for-Linux/src“ wird verlassen
make: *** [Makefile:364: all-recursive] Fehler 1

All Installation-Steps were followed (installing those required packages):

lappi@Laptop:~/Downloads/DYMO-SDK-for-Linux$ sudo apt-get install git libcups2-dev libcupsimage2-dev gcc g++ automake
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
automake ist schon die neueste Version (1:1.16.2-4ubuntu1).
g++ ist schon die neueste Version (4:10.2.0-1ubuntu1).
gcc ist schon die neueste Version (4:10.2.0-1ubuntu1).
git ist schon die neueste Version (1:2.27.0-1ubuntu1).
libcups2-dev ist schon die neueste Version (2.3.3-3ubuntu1).
libcupsimage2-dev ist schon die neueste Version (2.3.3-3ubuntu1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

Regards
SeaLife

@GHPS
Copy link

GHPS commented Mar 6, 2021

The problem is caused by a missing import required by the newer
versions of Ubuntu: SideChannelImport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants