From owner-freebsd-ports@FreeBSD.ORG Sun Sep 14 17:09:32 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6902716A4BF for ; Sun, 14 Sep 2003 17:09:32 -0700 (PDT) Received: from chaos.obstruction.com (CPE00e018983b2f-CM013349903124.cpe.net.cable.rogers.com [24.156.200.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DA2C43FBD for ; Sun, 14 Sep 2003 17:09:31 -0700 (PDT) (envelope-from guy-dated-1066176510.4ae74a@obstruction.com) Received: from chaos.obstruction.com (localhost [127.0.0.1]) by chaos.obstruction.com (Postfix) with ESMTP id DB8055C3F for ; Sun, 14 Sep 2003 20:08:30 -0400 (EDT) Received: by chaos.obstruction.com (tmda-sendmail, from uid 1000); Sun, 14 Sep 2003 20:08:30 -0400 (EDT) Date: Sun, 14 Sep 2003 20:08:29 -0400 To: freebsd-ports@freebsd.org Message-ID: <20030915000829.GA6272@chaos.obstruction.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i From: Guy Middleton X-Delivery-Agent: TMDA/0.80 (Determine) Subject: wxgtk incompatible with stlport X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Guy Middleton List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 00:09:32 -0000 I have wxgtk-2.4.1_1 and stlport-gcc-4.5.3_1 installed on a 5.1-RELEASE system. Compiling this program: #include gives these errors: c++ -O -pipe -march=pentium3 -I/usr/local/include/stlport `wx-config --cxxflags` -L/usr/local/lib -lstlport_gcc `wx-config --libs` wxtest.cc -o wxtest In file included from /usr/X11R6/include/wx/string.h:66, from /usr/X11R6/include/wx/memory.h:20, from /usr/X11R6/include/wx/object.h:25, from /usr/X11R6/include/wx/wx.h:16, from wxtest.cc:1: /usr/X11R6/include/wx/buffer.h: In function `wchar_t* wxWcsdupReplacement(const wchar_t*)': /usr/X11R6/include/wx/buffer.h:104: `wcslen' undeclared (first use this function) /usr/X11R6/include/wx/buffer.h:104: (Each undeclared identifier is reported only once for each function it appears in.) It compiles cleanly without stlport. I tried to find the cause, but I quickly became lost in a twisty maze of #include files.