[sane-devel] Code freeze for SANE 1.0.10

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 29 Jan 2003 10:12:03 +0100


Hi,

On Tue, Jan 28, 2003 at 09:33:40PM +0100, Franz Bakan wrote:
> >What does -Zmap do?
> 
> -Zmap tells the linker to write additional .map files useful for debugging.
> 
> >I've added function prototypes for all the code in lib, maybe that's a
> >problem?
> 
> No, it must be the name, don't ask me why, when I rename all
> 'artec_eplus48u' to 'artec_eplus' in the backends directory  my linker
> now also links with -Zmap flag. Stange.

Maybe the command line is just too long?

> >> xcam.o: Undefined symbol _pthread_write referenced from text segment
> >> xcam.o: Undefined symbol _pthread_write referenced from text segment
> >> xcam.o: Undefined symbol _pthread_read referenced from text segment
> ...
> >Did you change anything concerning your build system (compiler, gtk,
> >gdk or glib version)? Is gtk-config found and does gtk-config --libs
> >print -lpthreads?
> 
> I checked this and then remembered, we allready had this discussion
> about a year ago and found the solution in my mail-archive.
> 
> Output from original gtk-config is wrong. Adding -lpthreads there is the
> right solution

Ok, I've added a comment to the INSTALL file.

Bye,
  Henning