[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetalk-dev] Problem compiling on OpenBSD
From: |
Anand V. Avati |
Subject: |
Re: [Freetalk-dev] Problem compiling on OpenBSD |
Date: |
Wed, 7 Jun 2006 18:58:55 +0530 |
User-agent: |
Mutt/1.4.2.1i |
looks like the typedef of error_t in openbsd's libc is not shielded with
__defined_error_t like the glibc.
I have removed the check+define assuming that errno.h and error_t is
pretty much present in almost every libc.
please tla update and check now.
regards,
avati
ps: you can reach us on #gluster on freenode IRC to solve issues
immediately
> config.status: creating po/Makefile
> ===> Building for freetalk
> Making all in src
> gmake[1]: Entering directory
> `/usr/ports/mystuff/net/freetalk/w-freetalk/freetalk/src'
> c++ -DPACKAGE_NAME=\"freetalk\" -DPACKAGE_TARNAME=\"freetalk\"
> -DPACKAGE_VERSION=\"0.7\" -DPACKAGE_STRING=\"freetalk\ 0.7\"
> -DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"\" -DVERSION=\"\"
> -DHAVE_LIBREADLINE=1 -DHAVE_LIBGUILE=1 -DHAVE_LIBGLIB_2_0=1
> -DHAVE_LIBLOUDMOUTH_1=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_ICONV=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
> -DHAVE_ICONV=1 -DICONV_CONST=const -I. -I. -Wall -g
> -I/usr/local/include/loudmouth-1.0 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -DDATADIR=\"/usr/local/share\"
> -DLOCALEDIR=\"\" -I/usr/local/include -O2 -pipe -c freetalk.cc
> In file included from freetalk.cc:44:
> compat.h:27: error: redeclaration of C++ built-in type `int'
> gmake[1]: *** [freetalk.o] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/mystuff/net/freetalk/w-freetalk/freetalk/src'
> gmake: *** [all-recursive] Error 1
> *** Error code 2
>
> Stop in /usr/ports/mystuff/net/freetalk (line 1927 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> # g++ --version
> g++ (GCC) 3.3.5 (propolice)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> # ^D
>
> Script done on Wed Jun 7 14:55:45 2006
> > stuff.
> > rgards,
> > avati
> >
--
Anand V. Avati