From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15111 invoked by alias); 9 Jan 2002 08:38:21 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 15063 invoked from network); 9 Jan 2002 08:38:19 -0000 Received: from unknown (HELO osp-dd.de) (193.99.117.146) by sources.redhat.com with SMTP; 9 Jan 2002 08:38:19 -0000 Received: from porschberg.osp-dd.de (ThisAddressDoesNotExist [172.29.1.161] (may be forged)) by osp-dd.de (8.8.8/8.8.8) with ESMTP id JAA27659 for ; Wed, 9 Jan 2002 09:38:54 +0100 From: thomas.porschberg@osp-dd.de Received: (from porschberg@localhost) by porschberg.osp-dd.de (8.11.6/8.10.2/SuSE Linux 8.10.0-0.3) id g098eHq02921; Wed, 9 Jan 2002 09:40:17 +0100 X-Authentication-Warning: porschberg.osp-dd.de: porschberg set sender to thomas.porschberg@osp-dd.de using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15420.486.412938.181028@porschberg.osp-dd.de> Date: Wed, 09 Jan 2002 00:38:00 -0000 To: gcc-help@gcc.gnu.org Subject: xerces1_6_0 and gcc3.x X-Mailer: VM 7.00 under Emacs 20.7.1 X-SW-Source: 2002-01/txt/msg00086.txt.bz2 I tried to compile xerces XML parser from apache project with gcc3.0.1 under linux. I built the library, but the building of the samples failed. porschberg@porschberg:~/xerces-c-src1_6_0/samples> gmake saxprint Building SAXPrint cd SAXPrint ; gmake ; cd .. gmake[1]: Entering directory `/home/porschberg/xerces-c-src1_6_0/samples/SAXPrint' mkdir -p /home/porschberg/xerces-c-src1_6_0/bin/obj/SAXPrint /opt/experimental/bin/g++ -DLINUX -fpic -L/usr/lib -L/usr/local/lib -L/opt/experimental/lib /home/porschberg/xerces-c-src1_6_0/bin/obj/SAXPrint/SAXPrint.o /home/porschberg/xerces-c-src1_6_0/bin/obj/SAXPrint/SAXPrintHandlers.o -o /home/porschberg/xerces-c-src1_6_0/bin/SAXPrint -L/home/porschberg/xerces-c-src1_6_0/lib -lxerces-c1_6_0 -lc /home/porschberg/xerces-c-src1_6_0/lib/libxerces-c1_6_0.so: undefined reference to `stricmp(char const*, char const*)' /home/porschberg/xerces-c-src1_6_0/lib/libxerces-c1_6_0.so: undefined reference to `strnicmp(char const*, char const*, unsigned)' collect2: ld returned 1 exit status gmake[1]: *** [/home/porschberg/xerces-c-src1_6_0/bin/SAXPrint] Error 1 gmake[1]: Leaving directory `/home/porschberg/xerces-c-src1_6_0/samples/SAXPrint' porschberg@porschberg:~/xerces-c-src1_6_0/samples> What about this functions strnicmp(char const*, char const*, unsigned) and stricmp(char const*, char const*) ? I found a header file .../util/Compilers/GCCDefs.hpp with the declaratio of this two functions: int stricmp(const char* const str1, const char* const str2); int strnicmp(const char* const str1, const char* const str2, const unsigned int count); Have I to link a additional library? because we want use gcc3.0.1 for production not only under linux everery help is very appreciate! -- PALOMA-system is a treasure, hanger or large item and stored in the wrong area (Loc. 1/K/99/91/1)