kopia lustrzana https://gitlab.com/sane-project/website
148 wiersze
6.9 KiB
HTML
148 wiersze
6.9 KiB
HTML
<!-- received="Tue Apr 6 21:09:09 1999 PDT" -->
|
||
<!-- sent="Tue, 06 Apr 1999 22:31:14 +0200" -->
|
||
<!-- name="Red Hat Linux User" -->
|
||
<!-- email="rodneyp@netway.at" -->
|
||
<!-- subject="Help? Undefined Reference g_debug compiling xscanimage" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="" -->
|
||
<title>sane-devel: Help? Undefined Reference g_debug compiling xscanimage</title>
|
||
<h1>Help? Undefined Reference g_debug compiling xscanimage</h1>
|
||
<b>Red Hat Linux User</b> (<a href="mailto:rodneyp@netway.at"><i>rodneyp@netway.at</i></a>)<br>
|
||
<i>Tue, 06 Apr 1999 22:31:14 +0200</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#124">[ date ]</a><a href="index.html#124">[ thread ]</a><a href="subject.html#124">[ subject ]</a><a href="author.html#124">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0125.html">Jan Braun: "Probs on RedHat-5.2-Linux on Sparc"</a>
|
||
<li> <b>Previous message:</b> <a href="0123.html">Scott Wells: "Core dump when trying to use net backend"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0135.html">Oliver Rauch: "Re: Help? Undefined Reference g_debug compiling xscanimage"</a>
|
||
<li> <b>Reply:</b> <a href="0135.html">Oliver Rauch: "Re: Help? Undefined Reference g_debug compiling xscanimage"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Greetings,<br>
|
||
<p>
|
||
I realize this may not be the right place to ask for assistance. If<br>
|
||
there is a better forum please point me in the right direction.<br>
|
||
<br>
|
||
I am trying to compile sane 1.00 with Gimp support and am getting the<br>
|
||
following error.<br>
|
||
<p>
|
||
gcc -o .libs/xscanimage xscanimage.o progress.o preview.o preferences.o<br>
|
||
gtkglue.o ../sanei/libsanei.a -Wl,--rpath -Wl,/usr/local/lib<br>
|
||
../backend/.libs/libsane.so ../lib/liblib.a -lgimp -L/usr/local/lib<br>
|
||
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext<br>
|
||
-lX11 -lm -ldl -ljpeg -lnsl -lm<br>
|
||
/usr/lib/libgimp.so: undefined reference to `g_debug'<br>
|
||
/usr/lib/libgimp.so: undefined reference to `g_warning'<br>
|
||
/usr/lib/libgimp.so: undefined reference to `g_error'<br>
|
||
<br>
|
||
I'm using RedHat 5.1, libjpeg updates, glib-1.2.0, gtk!-1.2.0 and<br>
|
||
sane-1.00. Can somebody point me in the right direction. Everything<br>
|
||
was fine until I tried to add Gimp support so I could run xscanimage<br>
|
||
with Gimp.<br>
|
||
<p>
|
||
Cheers.<br>
|
||
<br>
|
||
Rod<br>
|
||
<br>
|
||
<a href="mailto:rodneyp@netway.at">rodneyp@netway.at</a><br>
|
||
<p>
|
||
X-VM-v5-Data: ([t nil nil nil nil nil nil nil nil]<br>
|
||
["2297" "Tue" "6" "April" "1999" "14:46:29" "-0700" "owner-sane-devel@mostang.com" "owner-sane-devel@mostang.com" nil "64" "BOUNCE sane-devel@mostang.com: Non-member submission from [\"Scott Wells\" <swells@vignette.com>] " "^From:" nil nil "4" nil nil nil nil nil]<br>
|
||
nil)<br>
|
||
Return-Path: <<a href="mailto:owner-sane-devel@mostang.com">owner-sane-devel@mostang.com</a>><br>
|
||
Received: (from majordom@localhost)<br>
|
||
by panda.mostang.com (8.8.7/8.8.7) id OAA21276;<br>
|
||
Tue, 6 Apr 1999 14:46:29 -0700<br>
|
||
Message-Id: <199904062146.OAA21276@panda.mostang.com><br>
|
||
Status: RO<br>
|
||
From: <a href="mailto:owner-sane-devel@mostang.com">owner-sane-devel@mostang.com</a><br>
|
||
To: <a href="mailto:owner-sane-devel@mostang.com">owner-sane-devel@mostang.com</a><br>
|
||
Subject: BOUNCE <a href="mailto:sane-devel@mostang.com:">sane-devel@mostang.com:</a> Non-member submission from ["Scott Wells" <swells@vignette.com>] <br>
|
||
Date: Tue, 6 Apr 1999 14:46:29 -0700<br>
|
||
<p>
|
||
<i>>From <a href="mailto:sane-devel-owner@mostang.com">sane-devel-owner@mostang.com</a> Tue Apr 6 14:46:28 1999</i><br>
|
||
Received: from vignette.com (mi.vignette.com [207.8.7.18])<br>
|
||
by panda.mostang.com (8.8.7/8.8.7) with ESMTP id OAA21273<br>
|
||
for <sane-devel@mostang.com>; Tue, 6 Apr 1999 14:44:10 -0700<br>
|
||
Received: from monolith by vignette.com (8.7.3/BERK-6.8.11)<br>
|
||
id QAA17216; Tue, 6 Apr 1999 16:43:33 -0500 (CDT)<br>
|
||
From: "Scott Wells" <<a href="mailto:swells@vignette.com">swells@vignette.com</a>><br>
|
||
To: "SANE Developers List" <<a href="mailto:sane-devel@mostang.com">sane-devel@mostang.com</a>><br>
|
||
Subject: Core dump when trying to use net backend<br>
|
||
Date: Tue, 6 Apr 1999 16:43:33 -0500<br>
|
||
Message-ID: <<a href="mailto:003101be8076$84a86fc0$930808cf@vignette.com">003101be8076$84a86fc0$930808cf@vignette.com</a>><br>
|
||
MIME-Version: 1.0<br>
|
||
Content-Type: text/plain;<br>
|
||
charset="iso-8859-1"<br>
|
||
Content-Transfer-Encoding: 7bit<br>
|
||
X-Priority: 3 (Normal)<br>
|
||
X-MSMail-Priority: Normal<br>
|
||
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0<br>
|
||
Importance: Normal<br>
|
||
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211<br>
|
||
<p>
|
||
I'm trying to use the net backend to access my scanner (actually, I'm<br>
|
||
ULTIMATELY trying to use a TWAIN-SANE gateway, but baby steps first...).<br>
|
||
First, some platform specifics:<br>
|
||
<p>
|
||
RedHat 5.1 x86<br>
|
||
Kernel 2.0.34 (I have good reasons for being so far back)<br>
|
||
SANE pre1.01-4 w/Microtek2 patch<br>
|
||
Adaptec AIC-7850 SCSI host adapter (narrow)<br>
|
||
Microtek ScanMaker X6 EL<br>
|
||
<p>
|
||
I'm able to scan directly from the microtek2 backend wonderfully! Now I'd<br>
|
||
like to scan through the net backend. To do so, I've done the following:<br>
|
||
<p>
|
||
1. Uncommented the 'net' line in dll.conf<br>
|
||
2. Added entries for 'localhost' and '<hostname>' in net.conf<br>
|
||
3. Set debug level to 128 for DLL, MICROTEK2, NET, and SANEI_SCSI<br>
|
||
<p>
|
||
I execute:<br>
|
||
<p>
|
||
$ scanimage -d net:(localhost|<hostname>):microtek2<br>
|
||
<p>
|
||
and I get:<br>
|
||
<p>
|
||
<leading info elided><br>
|
||
[dll] loading backend net<br>
|
||
[dll] dlopen()ing '/usr/local/SANE/lib/sane/libsane-net.so.1<br>
|
||
[dll] init: initializing backend 'net'<br>
|
||
[sanei_init_debug]: Setting debug level of net to 128.<br>
|
||
[net] adding backend localhost<br>
|
||
[net] adding backend <hostname><br>
|
||
Segmentation fault (core dumped)<br>
|
||
<p>
|
||
I've done a *little* debugging and the seg fault occurs at some point in the<br>
|
||
net implementation of sane_get_devices(). Does anyone know what's going on?<br>
|
||
Have I left out some all-important step in my configuration? It's worth<br>
|
||
noting that:<br>
|
||
<p>
|
||
$ telnet (localhost|<hostname>) sane<br>
|
||
<p>
|
||
connects fine; it's not a saned configuration issue (that I know of).<br>
|
||
<p>
|
||
Thanks in advance,<br>
|
||
Scott Wells<br>
|
||
<p>
|
||
<p>
|
||
<pre>
|
||
--
|
||
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
|
||
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
|
||
</pre>
|
||
<!-- body="end" -->
|
||
<p>
|
||
<ul>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0125.html">Jan Braun: "Probs on RedHat-5.2-Linux on Sparc"</a>
|
||
<li> <b>Previous message:</b> <a href="0123.html">Scott Wells: "Core dump when trying to use net backend"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0135.html">Oliver Rauch: "Re: Help? Undefined Reference g_debug compiling xscanimage"</a>
|
||
<li> <b>Reply:</b> <a href="0135.html">Oliver Rauch: "Re: Help? Undefined Reference g_debug compiling xscanimage"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|