Re: Getting an "unresolved symbol 'outb'" error

Matt Gundry (mjgundry@primenet.com)
Thu, 12 Mar 1998 15:26:08 -0600

I think you need to supply a little more info for this one - OS, kernel
version, etc.

This is a wild shot in the dark, but IIRC (assuming linux), outb is an
inline macro that only gets expanded when optimization is enabled. I have
seen the error you describe if you try to link modules (containing outb)
that were compiled without optimization enabled. I find it strange that you
would be having this problem though, as SANE should configure itself to
build with optimization on.

Check the man page for outb for more info.

At 08:40 PM 3/12/98 +0100, you wrote:
>Hi...
>I've been playing with sane-0.71 for a while, and i got it all well compiled.
>The only thing is that when I enable some drivers in dll.conf other than pnm,
>I immediately get an error: can't resolve symbol "outb", from both scanimage
>and xscanimage.
>If someone is so kind to give me the right compilation hint, I'de be very
>grateful. Please notice that I have no scanner attached to my system yet, but
>I am using sane only for testing purposes, with a BW quickcam.
>Thanx in advance for the eventual answer.
>Michael.

Hope this helps,

--
Matt Gundry
mjgundry@primenet.com
mjgundry@fpa-engineers.com

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com