From owner-freebsd-ports@FreeBSD.ORG Thu Apr 17 23:26:08 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 7BFEF37B401 for ; Thu, 17 Apr 2003 23:26:08 -0700 (PDT) Received: from antares.student.iastate.edu (antares.student.iastate.edu [64.113.65.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2ADB43FE9 for ; Thu, 17 Apr 2003 23:26:07 -0700 (PDT) (envelope-from kparz@antares.student.iastate.edu) Received: from antares.student.iastate.edu (localhost [127.0.0.1]) h3I6Q2os009187; Fri, 18 Apr 2003 01:26:02 -0500 (CDT) (envelope-from kparz@antares.student.iastate.edu) Received: (from kparz@localhost)h3I6PujL009186; Fri, 18 Apr 2003 01:25:56 -0500 (CDT) Date: Fri, 18 Apr 2003 01:25:56 -0500 From: Krzysztof Parzyszek To: Alexander Leidinger Message-ID: <20030418062556.GA9164@antares.student.iastate.edu> References: <20030417131300.GA7053@antares.student.iastate.edu> <20030417160442.A16881@newtrinity.zeist.de> <20030417153737.GA7279@antares.student.iastate.edu> <20030417175254.46dba7f0.Alexander@Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20030417175254.46dba7f0.Alexander@Leidinger.net> User-Agent: Mutt/1.4i cc: freebsd-ports@freebsd.org cc: marius@alchemy.franken.de Subject: Re: Cannot compile stlport-icc on -stable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kristof@swissmail.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 06:26:08 -0000 On Thu, Apr 17, 2003 at 05:52:54PM +0200, Alexander Leidinger wrote: > > I don't have much time to look at it (or the update of icc) myself until > next week, so could you please test if adding "-I/usr/include" after > -I${PREFIX}/intel/compiler70/ia32/include > -I${PREFIX}/intel/compiler70/ia32/include/substitute_headers in the most > recent version of patch-ia32::bin::icc and patch-ia32::bin::icpc solves > the problem too? Nope. See below. Krzysztof ===> Building for stlport-icc-4.5.3_1 echo "Note : this makefile requires gmake on FreeBSD" Note : this makefile requires gmake on FreeBSD icpc -I../stlport -w1 -D_THREAD_SAFE -D_REENTRANT -mt -O -ip -axiMKW -KPIC dll_main.cpp -c -o ../lib/obj/ICC-FREEBSD/ReleaseD/dll_main.o ../stlport/stl/_alloc.h(134): error: identifier "__stl_new" is undefined static void* _STLP_CALL allocate(size_t __n) { return __stl_new(__n); } ^ ../stlport/stl/_alloc.h(135): error: identifier "__stl_delete" is undefined static void _STLP_CALL deallocate(void* __p, size_t) { __stl_delete(__p); } ^ ../stlport/stl/_alloc.c(58): error: namespace "_STL" has no member "__stl_new" inline void* __stlp_chunk_malloc(size_t __bytes) { return _STLP_STD::__stl_new(__bytes); } ^ ../stlport/stl/_limits.h(266): error: identifier "WCHAR_MIN" is undefined : public _Integer_limits ^ ../stlport/stl/_limits.h(266): error: identifier "WCHAR_MAX" is undefined : public _Integer_limits ^ ../stlport/stdexcept(57): error: not a class or struct name class _STLP_CLASS_DECLSPEC __Named_exception : public _STLP_EXCEPTION_BASE { ^ ../stlport/stl/_pthread_alloc.c(81): error: namespace "_STL" has no member "bad_alloc" __THROW_BAD_ALLOC; // failed ^ detected during instantiation of "_STL::_Pthread_alloc_per_thread_state<_Max_size> *_STL::_Pthread_alloc<_Max_size>::_S_get_per_thread_state() [with _Max_size=128U]" ../stlport/stl/_pthread_alloc.c(90): error: namespace "_STL" has no member "bad_alloc" __THROW_BAD_ALLOC; ^ detected during instantiation of "_STL::_Pthread_alloc_per_thread_state<_Max_size> *_STL::_Pthread_alloc<_Max_size>::_S_get_per_thread_state() [with _Max_size=128U]" ../stlport/stl/_alloc.h(251): error: identifier "__stl_new" is undefined static void * _STLP_CALL allocate(size_t __n) { return (__n > (size_t)_MAX_BYTES) ? __stl_new(__n) : _M_allocate(__n); } ^ detected during instantiation of "void *_STL::__node_alloc<__threads, __inst>::allocate(size_t={unsigned int}) [with __threads=false, __inst=0]" ../stlport/stl/_alloc.h(253): error: identifier "__stl_delete" is undefined static void _STLP_CALL deallocate(void *__p, size_t __n) { if (__n > (size_t)_MAX_BYTES) __stl_delete(__p); else _M_deallocate(__p, __n); } ^ detected during instantiation of "void _STL::__node_alloc<__threads, __inst>::deallocate(void *, size_t={unsigned int}) [with __threads=false, __inst=0]" ../stlport/stl/_alloc.h(251): error: identifier "__stl_new" is undefined static void * _STLP_CALL allocate(size_t __n) { return (__n > (size_t)_MAX_BYTES) ? __stl_new(__n) : _M_allocate(__n); } ^ detected during instantiation of "void *_STL::__node_alloc<__threads, __inst>::allocate(size_t={unsigned int}) [with __threads=true, __inst=0]" ../stlport/stl/_alloc.h(253): error: identifier "__stl_delete" is undefined static void _STLP_CALL deallocate(void *__p, size_t __n) { if (__n > (size_t)_MAX_BYTES) __stl_delete(__p); else _M_deallocate(__p, __n); } ^ detected during instantiation of "void _STL::__node_alloc<__threads, __inst>::deallocate(void *, size_t={unsigned int}) [with __threads=true, __inst=0]" ../stlport/stl/_alloc.c(75): error: namespace "_STL" has no member "bad_alloc" if (0 == __my_malloc_handler) { __THROW_BAD_ALLOC; } ^ detected during instantiation of "void *_STL::__malloc_alloc<__inst>::_S_oom_malloc(size_t={unsigned int}) [with __inst=0]" compilation aborted for dll_main.cpp (code 2) gmake: *** [../lib/obj/ICC-FREEBSD/ReleaseD/dll_main.o] Error 2 *** Error code 2 Stop in /usr/ports/devel/stlport-icc.