All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaap de Jong <jaap.dejong@nedap.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: libftdi
Date: Tue, 27 Nov 2012 11:10:54 +0100	[thread overview]
Message-ID: <50B491AE.2090702@nedap.com> (raw)
In-Reply-To: <20121123143109.GA31470@mi.fu-berlin.de>


On 11/23/2012 03:31 PM, Henning Heinold wrote:
> On Fri, Nov 23, 2012 at 11:20:56AM +0100, Jaap de Jong wrote:
>> Hi All,
>> on my buildserver under debian, libftdi does not compile.
>> Looks like some library issue.
>> Anyone an idea how to solve?
>> Thanks in advance!
>> Jaap
>>
>>
>> NOTE: package libftdi-0.19-r0: task do_compile: Started
>> ERROR: Function failed: do_compile (see /var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/temp/log.do_compile.21748
>> for further information)
>> ERROR: Logfile of failure stored in: /var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/temp/log.do_compile.21748
>> Log data follows:
>> | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
>> 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi',
>> 'common']
>> | ERROR: Function failed: do_compile (see /var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/temp/log.do_compile.21748
>> for further information)
>> | NOTE: make -j2
>> | make  all-recursive
>> | make[1]: Entering directory `/data/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/libftdi-0.19'
>> | Making all in src
>> | make[2]: Entering directory `/data/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/work/armv5te-angstrom-linux-gnueabi/libftdi-0.19-r0/libftdi-0.19/src'
>> | ../arm-angstrom-linux-gnueabi-libtool --tag=CC   --mode=compile
>> arm-angstrom-linux-gnueabi-gcc  -march=armv5te  -marm
>> -mthumb-interwork  -mtune=arm926ej-s --sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45
>> -DHAVE_CONFIG_H -I. -I..     -O2 -pipe -g
>> -feliminate-unused-debug-types -I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include
>> -c -o ftdi.lo ftdi.c
>> | arm-angstrom-linux-gnueabi-libtool: compile:
>> arm-angstrom-linux-gnueabi-gcc -march=armv5te -marm
>> -mthumb-interwork -mtune=arm926ej-s --sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45
>> -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -g -feliminate-unused-debug-types -I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include
>> -c ftdi.c  -fPIC -DPIC -o .libs/ftdi.o
>> | arm-angstrom-linux-gnueabi-libtool: compile:
>> arm-angstrom-linux-gnueabi-gcc -march=armv5te -marm
>> -mthumb-interwork -mtune=arm926ej-s --sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45
>> -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -g -feliminate-unused-debug-types -I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include
>> -c ftdi.c -o ftdi.o >/dev/null 2>&1
>> | ../arm-angstrom-linux-gnueabi-libtool --tag=CC   --mode=link
>> arm-angstrom-linux-gnueabi-gcc  -march=armv5te  -marm
>> -mthumb-interwork  -mtune=arm926ej-s --sysroot=/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45
>> -O2 -pipe -g -feliminate-unused-debug-types -I/var/lib/jenkins/jobs/oe-core/develop/build/tmp-angstrom_v2012_05-eglibc/sysroots/nedap9g45/usr/include
>> -version-info 20:0:19 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
>> -o libftdi.la -rpath /usr/lib ftdi.lo  -L/lib -lusb
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Fix the Makefile to not use this.
>
> Bye Henning
>
>
Fixed it.
Probably not this best way to do it, but it works.
Added a patch:

diff -urN a/configure.in b/configure.in
--- a/configure.in    2012-11-26 14:59:05.084788496 +0100
+++ b/configure.in    2012-11-26 14:59:21.665316347 +0100
@@ -19,6 +19,7 @@
  else
     AC_MSG_ERROR([*** libusb-config not found. You need a working 
libusb installation.])
  fi
+LIBS=""

  dnl check for version of libusb
  AC_MSG_CHECKING([if libusb version is >= 0.1.7])





      reply	other threads:[~2012-11-27 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 10:20 libftdi Jaap de Jong
2012-11-23 14:31 ` libftdi Henning Heinold
2012-11-27 10:10   ` Jaap de Jong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50B491AE.2090702@nedap.com \
    --to=jaap.dejong@nedap.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.