From owner-freebsd-current Sun Feb 9 10:54:36 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B92F37B401; Sun, 9 Feb 2003 10:54:33 -0800 (PST) Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1748043F93; Sun, 9 Feb 2003 10:54:30 -0800 (PST) (envelope-from lamont@scriptkiddie.org) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 7D8B862D1A; Sun, 9 Feb 2003 10:54:27 -0800 (PST) Date: Sun, 9 Feb 2003 10:54:27 -0800 (PST) From: Lamont Granquist To: freebsd-current@freebsd.org Cc: freebsd-ports@freebsd.org Subject: devel/stlport compile broken in -current Message-ID: <20030209105303.F4561-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG looks like nobody has fixed stlport since the last time gcc was upgraded... (i don't know C++ very well, so wasn't able to fix it myself...) > make ===> Extracting for stlport-gcc-4.5.3_1 >> Checksum OK for STLport-4.5.3.tar.gz. ===> stlport-gcc-4.5.3_1 depends on executable: gmake - found ===> Patching for stlport-gcc-4.5.3_1 ===> Applying FreeBSD patches for stlport-gcc-4.5.3_1 ===> Configuring for stlport-gcc-4.5.3_1 ===> Building for stlport-gcc-4.5.3_1 echo "Note : this makefile requires gmake on FreeBSD" Note : this makefile requires gmake on FreeBSD mkdir -p ../lib/obj/GCC-FREEBSD/ReleaseD g++ -D_THREAD_SAFE -D_REENTRANT -fexceptions -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -O -pipe -march=athlon-mp -fPIC dll_main.cpp -c -o ../lib/obj/GCC-FREEBSD/ReleaseD/dll_main.o In file included from ../stlport/stl/_alloc.h:60, from ../stlport/memory:28, from dll_main.cpp:38: ../stlport/new:36:49: ../g++/new: No such file or directory In file included from ../stlport/stl/_alloc.h:60, from ../stlport/memory:28, from dll_main.cpp:38: ../stlport/new:45: `nothrow_t' not declared ../stlport/new:46: `nothrow' not declared ../stlport/new:52: `new_handler' not declared ../stlport/new:53: `set_new_handler' not declared ../stlport/stl/_pthread_alloc.c: In static member function `static _STL::_Pthread_alloc_per_thread_state<_Max_size>* _STL::_Pthread_alloc<_Max_size>::_S_get_per_thread_state() [with unsigned int _Max_size = 128]': dll_main.cpp:160: instantiated from here ../stlport/stl/_pthread_alloc.c:81: invalid use of undefined type `struct std::bad_alloc' :81: forward declaration of `struct std::bad_alloc' dll_main.cpp:160: instantiated from here ../stlport/stl/_pthread_alloc.c:90: invalid use of undefined type `struct std::bad_alloc' :90: forward declaration of `struct std::bad_alloc' ../stlport/stl/_alloc.c: In static member function `static void* _STL::__malloc_alloc<__inst>::_S_oom_malloc(unsigned int) [with int __inst = 0]': dll_main.cpp:163: instantiated from here ../stlport/stl/_alloc.c:75: invalid use of undefined type `struct std::bad_alloc' :75: forward declaration of `struct std::bad_alloc' : In function `void _STL::_Construct(_T1*, const _T2&) [with _T1 = void*, _T2 = void*]': ../stlport/stl/_alloc.h:365: instantiated from `void _STL::allocator<_Tp>::construct(_Tp*, const _Tp&) const [with _Tp = void*]' dll_main.cpp:169: instantiated from here :85: too many arguments to function `void* operator new(unsigned int) ' ../stlport/stl/_construct.h:85: at this point in file : In function `void _STL::_Construct(_T1*, const _T2&) [with _T1 = char, _T2 = char]': ../stlport/stl/_alloc.h:365: instantiated from `void _STL::allocator<_Tp>::construct(_Tp*, const _Tp&) const [with _Tp = char]' dll_main.cpp:184: instantiated from here :85: too many arguments to function `void* operator new(unsigned int) ' ../stlport/stl/_construct.h:85: at this point in file : In function `void _STL::_Construct(_T1*) [with _T1 = char]': ../stlport/stl/_string.h:326: instantiated from `void _STL::basic_string<_CharT, _Traits, _Alloc>::_M_construct_null_aux(_CharT*, const _STL::__false_type&) [with _CharT = char, _Traits = _STL::char_traits, _Alloc = _STL::allocator]' dll_main.cpp:192: instantiated from here :93: too many arguments to function `void* operator new(unsigned int) ' ../stlport/stl/_construct.h:93: at this point in file gmake: *** [../lib/obj/GCC-FREEBSD/ReleaseD/dll_main.o] Error 1 *** Error code 2 Stop in /usr/ports/devel/stlport. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message