help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] gcc 2.95


From: sergio gonzalez
Subject: [help-cgicc] gcc 2.95
Date: Mon, 16 May 2005 06:24:50 -0700 (PDT)

HI, i tried compiling v.3.2.3 on 
Sun sparc with gcc 2.95.2
wondered if anyone has tried this, i browsed the
archives and tried a couple of things, but still dont
have much of a clue.
Will appreciate any clues.

Details:
----------------configure-------------------------
./configure --prefix=$HOME/local -C
CC=/opt/sfw/bin/gcc CXX=/opt/sfw/bin/g++
F77=/opt/sfw/bin/g77 CXXPP=/opt/sfw/bin/cpp
---------------compile err -----------------------
source='CgiEnvironment.cpp' object='CgiEnvironment.lo'
libtool=yes \
depfile='.deps/CgiEnvironment.Plo'
tmpdepfile='.deps/CgiEnvironment.TPlo' \
depmode=gcc /bin/bash ../support/depcomp \
/bin/bash ../libtool --mode=compile /opt/sfw/bin/g++
-DHAVE_CONFIG_H  -I. -I. -I. -I.. -I..     -Wall -W
-pedantic -g -O2 -c -o CgiEnvironment.lo
CgiEnvironment.cpp
 /opt/sfw/bin/g++ -DHAVE_CONFIG_H -I. -I. -I. -I..
-I.. -Wall -W -pedantic -g -O2 -c CgiEnvironment.cpp
-Wp,-MD,.deps/CgiEnvironment.TPlo  -fPIC -DPIC -o
.libs/CgiEnvironment.o
CgiEnvironment.cpp: In method `void
cgicc::CgiEnvironment::parseCookie(const string &)':
CgiEnvironment.cpp:141: parse error before `('
CgiEnvironment.cpp:149: confused by earlier errors,
bailing out
*** Error code 1
make: Fatal error: Command failed for target
`CgiEnvironment.lo'
Current working directory
/export/home/sgonzale/local/src/cgicc-3.2.3/cgicc
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory
/export/home/sgonzale/local/src/cgicc-3.2.3/cgicc
----------------------------------------------------
line 141: if(std::isspace(*data_iter) == 0)
-----------------------------------------------------

removing the std:: .. takes me to:
---------------------------------------------------
 /opt/sfw/bin/g++ -DHAVE_CONFIG_H -I. -I. -I. -I..
-I.. -Wall -W -pedantic -g -O2 -c CgiUtils.cpp
-Wp,-MD,.deps/CgiUtils.TPlo  -fPIC -DPIC -o
.libs/CgiUtils.o
CgiUtils.cpp: In function `class string
cgicc::form_urldecode(const string &)':
CgiUtils.cpp:188: parse error before `('
CgiUtils.cpp:193: parse error before `else'
CgiUtils.cpp:196: break statement not within loop or
switch
CgiUtils.cpp:198: default label not within a switch
statement
CgiUtils.cpp:176: warning: destructor needed for
`class string result'
CgiUtils.cpp:198: warning: where case label appears
here
CgiUtils.cpp:198: warning: (enclose actions of
previous case statements requiring
CgiUtils.cpp:198: warning: destructors in their own
binding contours.)
CgiUtils.cpp:198: confused by earlier errors, bailing
out
*** Error code 1
make: Fatal error: Command failed for target
`CgiUtils.lo'
---------------------------------------------------
188:198
if(std::distance(iter, src.end()) >= 2
           && std::isxdigit(*(iter + 1)) &&
std::isxdigit(*(iter + 2))) {
            c = *++iter;
            result.append(1, hexToChar(c, *++iter));
        }
        // Just pass the % through untouched
        else {
            result.append(1, '%');
        }
        break;

    default:
----------------------------------------------------
Not really sure where to go from here.


--------config.cache--------------------------------
ac_cv_build=${ac_cv_build=sparc-sun-solaris2.8}
ac_cv_build_alias=${ac_cv_build_alias=sparc-sun-solaris2.8}
ac_cv_c_compiler_gnu=${ac_cv_c_compiler_gnu=yes}
ac_cv_cxx_compiler_gnu=${ac_cv_cxx_compiler_gnu=yes}
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/opt/sfw/bin/gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/opt/sfw/bin/g++
ac_cv_env_F77_set=set
ac_cv_env_F77_value=/opt/sfw/bin/g77
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=${ac_cv_exeext=}
ac_cv_f77_compiler_gnu=${ac_cv_f77_compiler_gnu=yes}
ac_cv_func_gettimeofday=${ac_cv_func_gettimeofday=yes}
ac_cv_func_strftime=${ac_cv_func_strftime=yes}
ac_cv_func_uname=${ac_cv_func_uname=yes}
ac_cv_header_dlfcn_h=${ac_cv_header_dlfcn_h=yes}
ac_cv_header_inttypes_h=${ac_cv_header_inttypes_h=yes}
ac_cv_header_memory_h=${ac_cv_header_memory_h=yes}
ac_cv_header_stdc=${ac_cv_header_stdc=yes}
ac_cv_header_stdint_h=${ac_cv_header_stdint_h=no}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h=yes}
ac_cv_header_string_h=${ac_cv_header_string_h=yes}
ac_cv_header_strings_h=${ac_cv_header_strings_h=yes}
ac_cv_header_sys_stat_h=${ac_cv_header_sys_stat_h=yes}
ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes}
ac_cv_header_sys_types_h=${ac_cv_header_sys_types_h=yes}
ac_cv_header_time=${ac_cv_header_time=yes}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes}
ac_cv_host=${ac_cv_host=sparc-sun-solaris2.8}
ac_cv_host_alias=${ac_cv_host_alias=sparc-sun-solaris2.8}
ac_cv_lib_nsl_gethostbyaddr=${ac_cv_lib_nsl_gethostbyaddr=yes}
ac_cv_objext=${ac_cv_objext=o}
ac_cv_path_install=${ac_cv_path_install='/opt/sfw/bin/ginstall
-c'}
ac_cv_prog_AWK=${ac_cv_prog_AWK=gawk}
ac_cv_prog_CPP=${ac_cv_prog_CPP='/opt/sfw/bin/gcc -E'}
ac_cv_prog_CXXCPP=${ac_cv_prog_CXXCPP='/opt/sfw/bin/g++
-E'}
ac_cv_prog_DOXYGEN=${ac_cv_prog_DOXYGEN=/bin/echo}
ac_cv_prog_ac_ct_AR=${ac_cv_prog_ac_ct_AR=ar}
ac_cv_prog_ac_ct_CC=${ac_cv_prog_ac_ct_CC=/opt/sfw/bin/gcc}
ac_cv_prog_ac_ct_RANLIB=${ac_cv_prog_ac_ct_RANLIB=ranlib}
ac_cv_prog_ac_ct_STRIP=${ac_cv_prog_ac_ct_STRIP=strip}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
ac_cv_prog_cc_stdc=${ac_cv_prog_cc_stdc=}
ac_cv_prog_cxx_g=${ac_cv_prog_cxx_g=yes}
ac_cv_prog_egrep=${ac_cv_prog_egrep=egrep}
ac_cv_prog_f77_g=${ac_cv_prog_f77_g=yes}
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
ac_cv_struct_tm=${ac_cv_struct_tm=time.h}
am_cv_CC_dependencies_compiler_type=${am_cv_CC_dependencies_compiler_type=gcc}
am_cv_CXX_dependencies_compiler_type=${am_cv_CXX_dependencies_compiler_type=gcc}
cgicc_cv_acc=${cgicc_cv_acc=no}
cgicc_cv_cpp_namespaces=${cgicc_cv_cpp_namespaces=yes}
cgicc_cv_cpp_stl=${cgicc_cv_cpp_stl=yes}
lt_cv_deplibs_check_method=${lt_cv_deplibs_check_method=pass_all}
lt_cv_file_magic_cmd=${lt_cv_file_magic_cmd='$MAGIC_CMD'}
lt_cv_file_magic_test_file=${lt_cv_file_magic_test_file=}
lt_cv_ld_reload_flag=${lt_cv_ld_reload_flag=-r}
lt_cv_objdir=${lt_cv_objdir=.libs}
lt_cv_path_LD=${lt_cv_path_LD=/usr/ccs/bin/ld}
lt_cv_path_LDCXX=${lt_cv_path_LDCXX=/usr/ccs/bin/ld}
lt_cv_path_NM=${lt_cv_path_NM='/usr/ccs/bin/nm -p'}
lt_cv_path_SED=${lt_cv_path_SED=/opt/sfw/bin/gsed}
lt_cv_prog_compiler_c_o=${lt_cv_prog_compiler_c_o=yes}
lt_cv_prog_compiler_c_o_CXX=${lt_cv_prog_compiler_c_o_CXX=yes}
lt_cv_prog_compiler_c_o_F77=${lt_cv_prog_compiler_c_o_F77=yes}
lt_cv_prog_compiler_rtti_exceptions=${lt_cv_prog_compiler_rtti_exceptions=yes}
lt_cv_prog_gnu_ld=${lt_cv_prog_gnu_ld=no}
lt_cv_prog_gnu_ldcxx=${lt_cv_prog_gnu_ldcxx=no}
lt_cv_sys_global_symbol_pipe=${lt_cv_sys_global_symbol_pipe='sed
-n -e '\''s/^.*
[       ]\([BDRT][BDRT]*\)[     ][     
]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\
3 \3/p'\'''}
test
"${lt_cv_sys_global_symbol_to_c_name_address+set}" =
set || lt_cv_sys_globa
l_symbol_to_c_name_address='sed -n -e '\''s/^: \([^
]*\) $/  {\"\1\", (lt_ptr) 0
},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ 
{"\2", (lt_ptr) \&\2},/p'\'
''
lt_cv_sys_global_symbol_to_cdecl=${lt_cv_sys_global_symbol_to_cdecl='sed
-n -e '
\''s/^. .* \(.*\)$/extern int \1;/p'\'''}
lt_cv_sys_max_cmd_len=${lt_cv_sys_max_cmd_len=262144}
lt_lt_cv_prog_compiler_c_o=${lt_lt_cv_prog_compiler_c_o='"yes"'}
lt_lt_cv_prog_compiler_c_o_CXX=${lt_lt_cv_prog_compiler_c_o_CXX='"yes"'}
lt_lt_cv_prog_compiler_c_o_F77=${lt_lt_cv_prog_compiler_c_o_F77='"yes"'}
lt_lt_cv_sys_global_symbol_pipe=${lt_lt_cv_sys_global_symbol_pipe='"sed
-n -e '\
''s/^.*[        ]\\([BDRT][BDRT]*\\)[   ][     
]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]
*\\)\$/\\1 \\2\\3 \\3/p'\''"'}
test
"${lt_lt_cv_sys_global_symbol_to_c_name_address+set}"
= set || lt_lt_cv_sys
_global_symbol_to_c_name_address='"sed -n -e '\''s/^:
\\([^ ]*\\) \$/  {\\\"\\1\
\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^
]*\\) \\([^ ]*\\)\$/  {\"\\2\
", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl=${lt_lt_cv_sys_global_symbol_to_cdecl='"sed
-n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'}
----------------------------------------------------
Anyway, how would i know if its finding the right
libraries and header files at build time, since i
think the server libs. are spread all over.

sergio g.
u. latina, david R. of Panama

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]