plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: Don't know how to build te module
From: Gerhard Jaeger
Date: Mon, 25 Apr 2005 09:19:56 +0200

On Sunday 24 April 2005 13:40, Georg E Schneider wrote:
> Gerhard Jaeger schrieb:
> 
> >On Saturday 23 April 2005 17:31, Georg E Schneider wrote:
> >  
> >
> >Hi,
> >
> >this is unusual! I think it's a compiler issue. Could you please
> >send the output of:
> >gcc --version
> >
> >Thanks
> >Gerhard
> >  
> >
> Here is the output
> gcc (GCC) 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)
> Copyright (C) 2004 Free Software Foundation, Inc.
> Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
> gibt KEINE Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE 
> ZWECKE.
> 
> but I've seen I could try with gcc4.
> But I think it will not reslove the problem.
> 
> I tried it,  it's the same.
> and the version:
> gcc4 (GCC) 4.0.0 20050406 (Red Hat 4.0.0-0.41.fc3)
> Copyright (C) 2005 Free Software Foundation, Inc.
> Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
> gibt KEINE Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE ZWECKE
> 
> greetings and thanks
> Georg

That's what I've expected. The 3.4 series seem to have problems with inlines
or in the end the way the are defined.
Please try the following:
Open the file sane/backend/plustek-pp procs.h
and replace the line (should be line number 81)
# define  INL	inline
by
# define  INL

And try again, tell us please the result!
Thanx
Gerhard








plustek@linuxhacker.org