General foo2zjs :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
make: *** [command2foo2lava-pjl] Error 1 [solved]
Posted by: acouto ()
Date: November 23, 2011 06:18AM

Hi.
Please give me some help, on the foo2zjs installation.
My Operating System is: Redhat Enterprise Linux 4.7 x86-32bits

When i run the 'make' command, it does not finish because when the installation tries to run: cc -O2 -Wall -L/usr/local/lib command2foo2lava-pjl.o -lcups -o command2foo2lava-pjl. It gives me the error make: *** [command2foo2lava-pjl] Error 1.

Best Regards,
Adelino Couto
Portugal



Edited 1 time(s). Last edit at 11/24/2011 09:37AM by rickrich.

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: rickrich ()
Date: November 23, 2011 07:24AM

What are the complete set of the errors?

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: acouto ()
Date: November 23, 2011 09:12AM

Thank you, for the fast reply

Here is the complete set off errors:

#
# Dependencies...
#
# ... OK!
#
cc -O2 -Wall -L/usr/local/lib command2foo2lava-pjl.o -lcups -o command2foo2lava -pjl
command2foo2lava-pjl.o(.text+0x152): In function `report_levels':
: undefined reference to `cupsSideChannelDoRequest'
command2foo2lava-pjl.o(.text+0x1f4): In function `report_levels':
: undefined reference to `cupsSideChannelDoRequest'
command2foo2lava-pjl.o(.text+0x9d6): In function `auto_configure':
: undefined reference to `cupsSideChannelDoRequest'
command2foo2lava-pjl.o(.text+0xa59): In function `auto_configure':
: undefined reference to `cupsSideChannelDoRequest'
collect2: ld returned 1 exit status
make: *** [command2foo2lava-pjl] Error 1

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: rickrich ()
Date: November 23, 2011 09:51AM

What does this say:

$ grep cupsSideChannelDoRequest /usr/include/cups/sidechannel.h



???



Edited 1 time(s). Last edit at 11/23/2011 10:04AM by rickrich.

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: acouto ()
Date: November 23, 2011 04:20PM

It say's:

extern cups_sc_status_t cupsSideChannelDoRequest(cups_sc_command_t command,

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: rickrich ()
Date: November 23, 2011 05:03PM

What does this say?

$ cups-config --version

$ cups-config --api-version



Edited 1 time(s). Last edit at 11/23/2011 05:23PM by rickrich.

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: acouto ()
Date: November 24, 2011 05:29AM

Hi.
Here is the answer.

cups-config --version
1.2.12
cups-config --api-version
1.2

Regards

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: rickrich ()
Date: November 24, 2011 06:37AM

re-download, make, ...

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: acouto ()
Date: November 24, 2011 07:25AM

Sorry i did not understand, where i re-download 'make'?

Regards,
Adelino

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: rickrich ()
Date: November 24, 2011 07:49AM

Sheesh.
    $ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
    $ tar zxf foo2zjs.tar.gz
    $ cd foo2zjs
    $ make    
    $ su                OR      $ sudo make install
    # make install

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1
Posted by: acouto ()
Date: November 24, 2011 09:16AM

Hi.
Fantastic. No problems with the installations.

Thank you very much.

Adelino

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1 [solved]
Posted by: Franky71 ()
Date: January 09, 2012 01:05AM

Hello,
Was trying to setup my LAN printer and found out about your work.
I followed the instructions found in the INSTALL file (main page).
Unfortunately, I am experiencing the same problem as refered to by @acouto last fall.
Can you help, please?
Regards,
Francis

Here's my setup:
-Linux: Ubuntu 10.10
-cups-config --version: 1.4.14
-cups-config --api-version: 1.4
[i-]Printer:[/i] HP Laserjet Pro CP1025nw

$grep cupsSideChannelDoRequest /usr/include/cups/sidechannel.h
results:

extern cups_sc_status_t cupsSideChannelDoRequest(cups_sc_command_t command,

The make command does not finish; here is the last line and error showing:
cc -O2 -Wall -L/usr/local/lib command2foo2lava-pjl.o -lcups -o command2foo2lava-pjl
/usr/bin/ld: errno@@GLIBC_PRIVATE: TLS definition in //lib/libc.so.6 section .tbss mismatches non-TLS reference in //usr/i486-linux-libc5/lib/libz.so.1
//usr/i486-linux-libc5/lib/libz.so.1: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [command2foo2lava-pjl] Erreur 1

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1 [solved]
Posted by: rickrich ()
Date: January 09, 2012 01:21AM

Did you update your system? Works fine on my 10.10 ubuntu with all updates.


Either reinstall the zlib or other

OR

$ sudo apt-get remove libcups2-dev



Edited 1 time(s). Last edit at 01/09/2012 01:27AM by rickrich.

Options: ReplyQuote
Re: make: *** [command2foo2lava-pjl] Error 1 [solved]
Posted by: Franky71 ()
Date: January 09, 2012 01:47AM

rickrich Wrote:
-------------------------------------------------------
> Did you update your system? Works fine on my
> 10.10 ubuntu with all updates.
>
>
> Either reinstall the zlib or other
>
> OR
>
> $ sudo apt-get remove libcups2-dev

Hello and thanks for the response! I did the following and was able to complete the installation: sudo apt-get remove libcups2-dev

-Francis

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.