[Help-gnutls] Re: Unable to make gnutls in HPUX
Haidar Habib
h.habib at gmail.com
Mon Feb 18 13:06:14 CET 2008
Hi Simon,
Actually my application is written in C++ so I think C++ library is needed.
As suggested by someone I included CXX=aCC also at configure time and
now I got the following errors.
I have also included output of ./configure and config.log files.
Regards,
Haidar
Error 19: "../includes/gnutls/gnutlsxx.h", line 10 # Unexpected 'std'.
class exception: public std::exception
^^^
Error 19: "../includes/gnutls/gnutlsxx.h", line 179 # Unexpected 'std'.
bool get_peers_certificate(std::vector<gnutls_datum_t>
&out_certs) const;
^^^
Error 19: "gnutlsxx.cpp", line 237 # Unexpected 'std'.
bool session::get_peers_certificate(std::vector<gnutls_datum_t>
&out_certs) const
^^^
Error 698: Exact position unknown; near ["/opt/aCC/include/exception",
line 46]. # The declarations class exception and class exception are
both visible and neither is preferred under the name lookup rules.
Error 698: Exact position unknown; near ["/opt/aCC/include/exception",
line 46]. # The declarations class exception and class exception are
both visible and neither is preferred under the name lookup rules.
Error 221: "gnutlsxx.cpp", line 845 # Member 'get_code' not declared
in class exception ["/opt/aCC/include/exception", line 53].
int exception::get_code()
^^^^^^^^
Error 172: "gnutlsxx.cpp", line 847 # Undeclared variable 'retcode'.
return retcode;
^^^^^^^
Error 698: Exact position unknown; near ["/opt/aCC/include/exception",
line 46]. # The declarations class exception and class exception are
both visible and neither is preferred under the name lookup rules.
Error 174: "gnutlsxx.cpp", line 850 # Function redefinition;
previously defined as "const char *exception::what() const" at
["/opt/aCC/include/exception", line 59].
const char* exception::what() const throw()
^^^^
Error 445: "gnutlsxx.cpp", line 850 # Cannot recover from earlier errors.
const char* exception::what() const throw()
On Feb 18, 2008 4:51 PM, Simon Josefsson <simon at josefsson.org> wrote:
>
> "Haidar Habib" <h.habib at gmail.com> writes:
>
> > Hi,
> >
> > I am trying to build gnutls-1.6.3 in HP-UX , but when i am running
> > make command after ./configure it showing following errors.
> >
> > g++: +b: No such file or directory
> > g++: /saurabh/gnutls-1.6.3/lib/.libs:/usr/local/lib: No such file or directory
> >
> > I am makeing from /saurabh/gnutls-1.6.3 directory and used configure
> > with following options
> >
> > ./configure CC=aCC CFLAGS="+d -Aa +DAportable -mt +W930 +W829 +Z -ext
> > -Wl,+s -g" LDFLAGS="-L/usr/local/lib/ -L/usr/local/lib/"
>
> If you don't need the C++ library, try adding --disable-cxx when running
> ./configure.
>
> Otherwise, please send the output from running ./configure, and the
> contents of the config.log file.
>
> /Simon
>
On Feb 18, 2008 4:51 PM, Simon Josefsson <simon at josefsson.org> wrote:
>
> "Haidar Habib" <h.habib at gmail.com> writes:
>
> > Hi,
> >
> > I am trying to build gnutls-1.6.3 in HP-UX , but when i am running
> > make command after ./configure it showing following errors.
> >
> > g++: +b: No such file or directory
> > g++: /saurabh/gnutls-1.6.3/lib/.libs:/usr/local/lib: No such file or directory
> >
> > I am makeing from /saurabh/gnutls-1.6.3 directory and used configure
> > with following options
> >
> > ./configure CC=aCC CFLAGS="+d -Aa +DAportable -mt +W930 +W829 +Z -ext
> > -Wl,+s -g" LDFLAGS="-L/usr/local/lib/ -L/usr/local/lib/"
>
> If you don't need the C++ library, try adding --disable-cxx when running
> ./configure.
>
> Otherwise, please send the output from running ./configure, and the
> contents of the config.log file.
>
> /Simon
>
--
With regards,
Md. Haidar Habib
Senior Software Engineer
haidar.habib at aricent.com
Aricent
Gurgaon
Cell- 09350042332
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure_output.txt
URL: </pipermail/attachments/20080218/3474a07c/attachment.txt>
More information about the Gnutls-help
mailing list