[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Reg - Printer Support for IMX31
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Reg - Printer Support for IMX31 |
Date: |
Wed, 27 Jun 2007 09:35:36 +0100 |
Hi R.J,
Which BSP are you using (& version)? the error output looks like you
have an old samba.spec file (gcc4 errors). The current
dist/lfs-5.1/samba/samba.spec should look like this:
Source : %{name}-%{version}.tar.gz
Patch1 : samba-3.0.2-configure-cross-2.patch
Patch2 : samba-3.0.2-gcc4-fix.patch
As far as printing goes, I'm no expert, gutenprint has not been added
into LTIB by me.
For LPR and other information take a look on google, one interesting
page is here: http://www.linux-foundation.org/en/OpenPrinting
Regards, Stuart
On Wed, 2007-06-27 at 13:01 +0530, R.J.Sivakumar wrote:
> hi Stuart & giovan,
> Thanks for your information, but when i try to include samba in the
> Ltib configuration its giving some compiler error which i copied below.Also
> is this gutenprint supported by LTIB?.please give me some information
> regarding that old unix LPR package.
>
>
> Compiling dynconfig.c
> In file included from include/smb.h:1627,
> from include/includes.h:783,
> from dynconfig.c:21:
> include/popt_common.h:25: error: array type has incomplete element type
> include/popt_common.h:26: error: array type has incomplete element type
> include/popt_common.h:27: error: array type has incomplete element type
> include/popt_common.h:28: error: array type has incomplete element type
> make: *** [dynconfig.o] Error 1
> error: Bad exit status
> from /home/skumar/freescale/ltib-imx31ads-20060709/tmp/rpm-tmp.68956 (%build)
>
> RPM build errors:
> Bad exit status
> from /home/skumar/freescale/ltib-imx31ads-20060709/tmp/rpm-tmp.68956 (%build)
> Failed building samba
>
> Best regards,
> Sivakumar.R.J
>
> On Tuesday 26 June 2007 4:39 pm, you wrote:
> > Hi Sivakumar.R.J,
> >
> > I have fronted something similar for a project that is in standby, at the
> > moment. The way I tried is to use "gutenprint" suite of drivers.
> > I arm-cross-compiled it and started testing. The problem is that is very
> > poorely documented for a direct usage (without CUPS infrastructure or
> > GIMP).
> >
> > It could be useful for you to look at:
> >
> > http://sourceforge.net/forum/forum.php?thread_id=1649374&forum_id=4359
> >
> > The best thing, I think, is to focus on a family of printers and use the
> > driver from the gutenprint package.
> >
> > Bye.
> >
> > Stuart Hughes said:
> > > Hi Sivakumar.R.J,
> > >
> > > Currently there is no package in LTIB intended to provide printing
> > > services.
> > >
> > > Most people on Desktops use cups as you say, but this is quite big and
> > > I'm not sure how cross compile friendly it is.
> > >
> > > Depending on what you're trying to achieve, it may be better to try to
> > > use a remote printer rather than install a package that knows how to
> > > print to a huge database of local printers. Maybe you could try adding
> > > the old unix LPR package? Another option maybe to try smbprint from
> > > samba (which is in LTIB), I'm not sure what that needs though.
> > >
> > > Maybe someone else knows of a good small remote printing package for
> > > embedded?
> > >
> > > Regards, Stuart
> > >
> > > On Tue, 2007-06-26 at 14:35 +0530, R.J.Sivakumar wrote:
> > >> Dear all,
> > >> As we are working in USB driver of IMX31ADS in support of
> > >> printer, we couldn't find any resources in the BSP for testing
> > >> printer.When i come across some linux printer forum,i came to know CUPS
> > >> should be installed for supporting lp program which is not there in the
> > >> BSP.Is there any package in the BSP will support the printer device?
> > >> .Is Busy Box consists of any commands for it?.Please give us a
> > >> suggestion.
> > >>
> > >> Thanks in advance
> > >
> > > _______________________________________________
> > > LTIB home page: http://bitshrine.org
> > >
> > > Ltib mailing list
> > > address@hidden
> > > http://lists.nongnu.org/mailman/listinfo/ltib
>