From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21281 invoked by alias); 21 Aug 2011 18:12:01 -0000 Received: (qmail 21273 invoked by uid 22791); 21 Aug 2011 18:12:00 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pz0-f44.google.com (HELO mail-pz0-f44.google.com) (209.85.210.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 21 Aug 2011 18:11:44 +0000 Received: by pzk36 with SMTP id 36so8505682pzk.3 for ; Sun, 21 Aug 2011 11:11:44 -0700 (PDT) Received: by 10.142.49.11 with SMTP id w11mr1123400wfw.448.1313950304090; Sun, 21 Aug 2011 11:11:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.214.1 with HTTP; Sun, 21 Aug 2011 11:11:04 -0700 (PDT) In-Reply-To: <8C6FFCAE-3C84-41B9-B422-F39120D95984@v9g.de> References: <3838F5CA-B4DE-44C8-9BA2-3EBEA35BAD7E@v9g.de> <201108190032.26721.yann.morin.1998@anciens.enib.fr> <8C6FFCAE-3C84-41B9-B422-F39120D95984@v9g.de> From: Guylhem Aznar Date: Sun, 21 Aug 2011 18:12:00 -0000 Message-ID: Subject: Re: compiling ltrace on macos / was Re: gdb problem To: Titus von Boxberg , crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00089.txt.bz2 Hello On Sun, Aug 21, 2011 at 11:48, Titus von Boxberg wrote: > with the recent patch series I'm able to build your mips config > with the following changes: > - did not have your files: linux kernel tarball, uclibc config file, so: As announced, "It is now available online as a DMG on http://dl.dropbox.com/u/984275/fritzbox/Fritzbox.dmg.bz2, along with the source code that was used to produce it : http://dl.dropbox.com/u/984275/fritzbox/Crosstools.dmg.bz2." > =A0- used the uClibc-0.9.30 config file from samples directory > =A0- used CT_KERNEL_V_2_6_35_14 Both are in Fritzbox.dmg.bz2 > =A0read_config_file.c:86: undefined reference to `index'. > The first three would be fairly simple to correct. > As a uclibc-agnostic, the last one is beyond my imagination. > Any hints? In my "handy functions" .h, which I frequently use to compile with uclibc : #define MAX_LINE 255 #define getwd(x) getcwd(x,MAX_LINE) #define bcmp(s1,s2,n) memcmp((s1), (s2), (size_t)(n)) #define index(s,c) strchr((s), (c)) #define rindex(s,c) strrchr((s), (c)) #define bcopy(src, dst, len) memcpy(dst, src, len) Guylhem --=20 vCard: http://guylhem.tel -- For unsubscribe information see http://sourceware.org/lists.html#faq