[sane-devel] error building using --enable-static

Chris Bagwell chris at cnpbagwell.com
Fri Aug 10 02:13:32 UTC 2012


Thank you much, Allan.

Although its compiling for me on OS X now, Stef identified an
additional patch needed for Linux.  Can you commit it as well?

diff --git a/frontend/Makefile.am b/frontend/Makefile.am
index 4ceae3b..74e7425 100644
--- a/frontend/Makefile.am
+++ b/frontend/Makefile.am
@@ -17,7 +17,8 @@ endif
 AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include

 scanimage_SOURCES = scanimage.c stiff.c stiff.h
-scanimage_LDADD = ../backend/libsane.la ../lib/liblib.la ../lib/libfelib.la
+scanimage_LDADD = ../backend/libsane.la ../sanei/libsanei.la ../lib/liblib.la \
+                 ../lib/libfelib.la

 saned_SOURCES = saned.c
 saned_LDADD = ../backend/libsane.la ../sanei/libsanei.la ../lib/liblib.la \

Chris

On Thu, Aug 9, 2012 at 8:04 PM, m. allan noah <kitno455 at gmail.com> wrote:
> I have committed these changes.
>
> allan
>
> On Thu, Aug 9, 2012 at 12:52 PM, Chris Bagwell <chris at cnpbagwell.com> wrote:
>> Could you submit the changes then?
>>
>> With that combo below, it should make it so only frontends/Makefile.am
>> and frontsends/Makefile.in need to be submitted that have minor
>> changes.  With my installed tools, its closer to 10 or more files with
>> large changes.
>>
>> Chris
>>
>> On Wed, Aug 8, 2012 at 2:45 PM, Stef <stef.dev at free.fr> wrote:
>>>     Hello,
>>>
>>>     on my test system (Slackware 13.37):
>>> - i cloned current git tree
>>> - did a static build that failed linking
>>> - applied the library order patch
>>> - done 'autoreconf'
>>> - rebuilt successfully and got a ~9.5 MB scanimage and saned ....
>>>
>>>     The 'auto' packages used were:
>>> autoconf 2.68
>>> automake 1.11.1
>>>
>>>     So I believe it would be fine to apply it to the git tree.
>>>
>>> Regards,
>>>     Stef
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>              to sane-devel-request at lists.alioth.debian.org
>
>
>
> --
> "The truth is an offense, but not a sin"



More information about the sane-devel mailing list