Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 01:25:56 -0500
From:      Krzysztof Parzyszek <kristof@swissmail.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        marius@alchemy.franken.de
Subject:   Re: Cannot compile stlport-icc on -stable
Message-ID:  <20030418062556.GA9164@antares.student.iastate.edu>
In-Reply-To: <20030417175254.46dba7f0.Alexander@Leidinger.net>
References:  <20030417131300.GA7053@antares.student.iastate.edu> <20030417160442.A16881@newtrinity.zeist.de> <20030417153737.GA7279@antares.student.iastate.edu> <20030417175254.46dba7f0.Alexander@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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<wchar_t, WCHAR_MIN, WCHAR_MAX, -1, true>
                                      ^

../stlport/stl/_limits.h(266): error: identifier "WCHAR_MAX" is undefined
    : public _Integer_limits<wchar_t, WCHAR_MIN, WCHAR_MAX, -1, true>
                                                 ^

../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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030418062556.GA9164>