primax: Thread: Re: primaxd error of the day ....


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: primaxd error of the day ....
From: Jim Hatridge ####@####.####
Date: 5 May 2002 16:16:19 -0000
Message-Id: <02050515552400.03688@Tenn>

Hi Christian et al..

OK, I added the xml2 package. BUT I'm STILL getting errors. See below. I'm 
using SuSE 7.2.   

Please help!

JIM


On Friday 03 May 2002 20:59, Christian Ordig wrote:
> On Fri, May 03, 2002 at 08:41:57PM +0200, Jim Hatridge wrote:
> > > libxml2-dev missing?
> > > seems to be trying to run xml*-config but couldn't locate it
> > > in configure.
> >
> > OK, but what should I do about that?
>
> install the development package for xml2
> libxml2-dev or something like that.

###############
Script started on Sun May  5 15:48:11 2002
Tenn:/usr/local/primaxd-0.5 # ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for msgfmt... (cached) msgfmt
checking for xml2-config... (cached) xml2-config
creating ./config.status
creating debian/Makefile
creating Makefile
creating primaxd/Makefile
creating config-files/Makefile
creating include/Makefile
creating include/sane/Makefile
creating include/primax_scan/Makefile
creating po/Makefile
creating include/sane/config.h
include/sane/config.h is unchanged
Tenn:/usr/local/primaxd-0.5 # make
Making all in primaxd
make[1]: Entering directory `/usr/local/primaxd-0.5/primaxd'
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c authorize.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c primax_opts.c
primax_opts.c: In function `init_odescs':
primax_opts.c:292: warning: assignment from incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c sanei_codec_bin.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c sanei_wire.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c scanner_settings.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c primaxd.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c primaxd_init_wire.c
primaxd_init_wire.c:64: warning: `print_ip' defined but not used
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c sanei_net.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c sane_stuff.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c from_primax_scan.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c tables.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c lp.c
lp.c: In function `epp_on':
lp.c:84: warning: implicit declaration of function `iopl'
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c LM9811.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c lamp_control.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c config_file.c
config_file.c: In function `save_settings':
config_file.c:125: warning: implicit declaration of function 
`xmlSaveFormatFile'
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c parport_lock.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 	
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 	
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c daemon.c
gcc  -g -O2 -g `xml2-config --libs` -o primaxd  authorize.o primax_opts.o 
sanei_codec_bin.o sanei_wire.o scanner_settings.o primaxd.o 
primaxd_init_wire.o sanei_net.o sane_stuff.o from_primax_scan.o tables.o lp.o 
LM9811.o lamp_control.o config_file.o parport_lock.o daemon.o -lm   
config_file.o: In function `save_settings':
/usr/local/primaxd-0.5/primaxd/config_file.c:125: undefined reference to 
`xmlSaveFormatFile'
collect2: ld returned 1 exit status
make[1]: *** [primaxd] Error 1
make[1]: Leaving directory `/usr/local/primaxd-0.5/primaxd'
make: *** [all-recursive] Error 1
Tenn:/usr/local/primaxd-0.5 # make install
Making install in primaxd
make[1]: Entering directory `/usr/local/primaxd-0.5/primaxd'
gcc  -g -O2 -g `xml2-config --libs` -o primaxd  authorize.o primax_opts.o 
sanei_codec_bin.o sanei_wire.o scanner_settings.o primaxd.o 
primaxd_init_wire.o sanei_net.o sane_stuff.o from_primax_scan.o tables.o lp.o 
LM9811.o lamp_control.o config_file.o parport_lock.o daemon.o -lm   
config_file.o: In function `save_settings':
/usr/local/primaxd-0.5/primaxd/config_file.c:125: undefined reference to 
`xmlSaveFormatFile'
collect2: ld returned 1 exit status
make[1]: *** [primaxd] Error 1
make[1]: Leaving directory `/usr/local/primaxd-0.5/primaxd'
make: *** [install-recursive] Error 1
Tenn:/usr/local/primaxd-0.5 # exit
exit

Script done on Sun May  5 15:49:03 2002
ÞØ@PžC€ÞØ@ñ
########################################


-- 
Jim Hatridge
Linux User #88484
------------------------------------------------------
                 BayerWulf
	   Linux System # 129656
         The Recycled Beowulf Project
  Looking for throw-away or obsolete computers and parts
   to recycle into a Linux super computer
Subject: Re: primaxd error of the day ....
From: Andre Herms ####@####.####
Date: 6 May 2002 09:13:51 -0000
Message-Id: <3CD646F3.BE0A5C4@fli.sh.de.bosch.com>

> config_file.o: In function `save_settings':
> /usr/local/primaxd-0.5/primaxd/config_file.c:125: undefined reference to
> `xmlSaveFormatFile'
> collect2: ld returned 1 exit status

Your libxml2 is to old. The save function is missing. I don't know why
suse distributes
this old version, okay Suse 7.2 is rather old ;-).
You should try to get a newer libxml2 version. I think now that suse 8.0
is out, there 
should be all 7.3 packages on the suse ftp server. 
Or maybe get the new Suse 8.0 - I think it's worth the money. 

Andre
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.