|
Hello.
I want to compile courier-imap 3.0.3 on Aix 5.2
with gcc 2.95 and gcc++ 2.95. I use this flags:
#MAKEFLAGS="-j 4"; export MAKEFLAGS
#CPPFLAGS="-I/usr/include -I/usr/local/include -I/opt/freeware/include"; export CPPFLAGS #LDFLAGS="-L/usr/lib -L/usr/local/lib -L/opt/freeware/lib"; export LDFLAGS #./configure --disable-root-check #gmake At this point i get following errors:
gcc -g -O2 -Wall -I./.. -I.. -L/usr/lib
-L/usr/local/lib -L/opt/freeware/lib -o maildirkw maildirkw.o libmaildir.a
./liblock/liblock.a ../numlib/libnumlib.a `cat maildir.libdeps`
ld: 0711-317 ERROR: Undefined symbol: cerr ld: 0711-317 ERROR: Undefined symbol: ostream::operator<<(char const *) ld: 0711-317 ERROR: Undefined symbol: endl(ostream &) ld: 0711-317 ERROR: Undefined symbol: basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::nilRep ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_free_list ld: 0711-317 ERROR: Undefined symbol: .__out_of_range(char const *) ld: 0711-317 ERROR: Undefined symbol: .__length_error(char const *) ld: 0711-317 ERROR: Undefined symbol: __malloc_alloc_template<0>::__malloc_alloc_oom_handler ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_end_free ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_start_free ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_heap_size ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ld: 0711-317 ERROR: Undefined symbol: cerr ld: 0711-317 ERROR: Undefined symbol: .ostream::operator<<(char const *) ld: 0711-317 ERROR: Undefined symbol: endl(ostream &) ld: 0711-317 ERROR: Undefined symbol: basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::nilRep ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_free_list ld: 0711-317 ERROR: Undefined symbol: .__out_of_range(char const *) ld: 0711-317 ERROR: Undefined symbol: .__length_error(char const *) ld: 0711-317 ERROR: Undefined symbol: __malloc_alloc_template<0>::__malloc_alloc_oom_handler ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_end_free ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_start_free ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_heap_size ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status ld: 0711-gmake[2]: *** [deliverquota] Error 1 gmake317[2]: *** Waiting for unfinished jobs.... ERROR: Undefined symbol: cerr ld: 0711-317 ERROR: Undefined symbol: .ostream::operator<<(char const *) ld: 0711-317 ERROR: Undefined symbol: endl(ostream &) ld: 0711-317 ERROR: Undefined symbol: basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::nilRep ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_free_list ld: 0711-317 ERROR: Undefined symbol: .libmail_atotime_t ld: 0711-317 ERROR: Undefined symbol: .libmail_str_size_t ld: 0711-317 ERROR: Undefined symbol: libmail_str_time_t ld: 0711-317 ERROR: Undefined symbol: libmail_str_pid_t ld: 0711-317 ERROR: Undefined symbol: libmail_strh_dev_t ld: 0711-317 ERROR: Undefined symbol: libmail_strh_ino_t ld: 0711-317 ERROR: Undefined symbol: __out_of_range(char const *) ld: 0711-317 ERROR: Undefined symbol: __length_error(char const *) ld: 0711-317 ERROR: Undefined symbol: __malloc_alloc_template<0>::__malloc_alloc_oom_handler ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_end_free ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_start_free ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_heap_size ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status collect2: ld returned 8 exit status gmake[2]: *** [maildirkwtest] Error 1 gmake[2]: *** [testmaildirfilter] Error 1 gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/software/courier-imap-3.0.3/maildir' gmake: *** [all-recursive] Error 1 # ld: 0711-317 ERROR: Undefined symbol: cerr ld: 0711-317 ERROR: Undefined symbol: .ostream::operator<<(char const *) ld: 0711-317 ERROR: Undefined symbol: endl(ostream &) ld: 0711-317 ERROR: Undefined symbol: basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::nilRep ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_free_list ld: 0711-317 ERROR: Undefined symbol: .__out_of_range(char const *) ld: 0711-317 ERROR: Undefined symbol: .__length_error(char const *) ld: 0711-317 ERROR: Undefined symbol: __malloc_alloc_template<0>::__malloc_alloc_oom_handler ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_end_free ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_start_free ld: 0711-317 ERROR: Undefined symbol: __default_alloc_template<false, 0>::_S_heap_size ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status Any idea ?
Thanks.
|
