Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2008 12:15:03 -0500
From:      "Steve Ames" <steve@energistic.com>
To:        "Stefan Lambrev" <stefan.lambrev@moneybookers.com>, <freebsd-ports@freebsd.org>
Subject:   Re: new version of devel/pwlib does not compile on 7.0-RELEASE
Message-ID:  <029f01c87ee4$7485fb00$c000040a@eservoffice.com>
References:  <47CED229.5080801@moneybookers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
All of your errors seem to stem from: /usr/local/include/iodbcunix.h which 
isn't part of pwlib and doesn't exist on my system.

-Steve

Stefan Lambrev wrote:
> Greetings,
>
> New version of devel/pwlib does not compile on 7.0-RELEASE i386
>
> Here is the error msg:
>
> g++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include
> -I/usr/local/include  -D_REENTRANT -pthread -fno-exceptions  -O1
> -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include
> -I/usr/local/include -Wall  -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include
> -O2 -fno-strict-aliasing -pipe -march=prescott -O1
> -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include
> -I/usr/local/include   -O1
> -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include
> -I/usr/local/include -c ../../ptclib/podbc.cxx -o
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/podbc.o
> ../../ptclib/podbc.cxx:230: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:230: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:230: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:283: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:283: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:283: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:318: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:318: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:318: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:325: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:325: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:325: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:333: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:333: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:333: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:342: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:342: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:342: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:353: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:353: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:353: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:363: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:363: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:363: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:379: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:379: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:379: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:385: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:385: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:385: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:394: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:394: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:394: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:402: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:402: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:402: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:410: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:410: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:410: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:420: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:420: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:420: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:475: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:475: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:475: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:494: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:494: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:494: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx: In member function 'PString
> PODBC::Field::AsString()':
> ../../ptclib/podbc.cxx:513: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:513: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:513: error: expected `;' before 'B'
> ../../ptclib/podbc.cxx:518: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:524: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:529: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:534: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:539: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:548: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:554: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:559: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:564: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:569: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:585: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx: At global scope:
> ../../ptclib/podbc.cxx:701: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:701: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:701: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:722: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:722: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:722: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:761: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:761: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:761: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:767: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:767: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:767: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:923: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:923: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:923: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:934: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:934: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:934: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:952: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:952: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:952: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:981: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:981: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:981: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1052: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1052: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1052: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1066: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1066: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1066: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1072: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1072: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1072: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1077: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1077: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1077: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1083: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1083: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1083: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1089: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1089: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1089: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1096: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1096: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1096: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1102: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1102: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1102: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1108: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1108: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1108: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1144: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1144: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1144: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1202: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1202: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1202: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1227: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1227: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1227: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx: In member function 'void
> PODBCRecord::Data(PINDEX, PODBC::Field&)':
> ../../ptclib/podbc.cxx:1263: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1263: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1263: error: expected `;' before 'B'
> ../../ptclib/podbc.cxx:1274: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1280: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1286: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1292: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1298: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1304: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1310: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1321: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1328: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1334: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1340: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1346: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1357: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx:1377: error: 'B' was not declared in this scope
> ../../ptclib/podbc.cxx: At global scope:
> ../../ptclib/podbc.cxx:1384: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1384: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1384: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1396: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1396: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1396: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1410: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1410: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1410: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1423: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1423: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1423: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx: In member function 'PTODBC::DWORD
> PODBCRecord::ColumnSize(PINDEX)':
> ../../ptclib/podbc.cxx:1490: error: invalid conversion from
> 'PTODBC::DWORD*' to 'long unsigned int*'
> ../../ptclib/podbc.cxx:1490: error:   initializing argument 7 of
> 'PTODBC::SQLRETURN PTODBC::SQLDescribeCol(void*, PTODBC::SQLUSMALLINT,
> PTODBC::SQLCHAR*, PTODBC::SQLSMALLINT, PTODBC::SQLSMALLINT*,
> PTODBC::SQLSMALLINT*, long unsigned int*, PTODBC::SQLSMALLINT*,
> PTODBC::SQLSMALLINT*)'
> ../../ptclib/podbc.cxx: In member function 'PTODBC::DWORD
> PODBCRecord::ColumnScale(PINDEX)':
> ../../ptclib/podbc.cxx:1508: error: invalid conversion from
> 'PTODBC::DWORD*' to 'long unsigned int*'
> ../../ptclib/podbc.cxx:1508: error:   initializing argument 7 of
> 'PTODBC::SQLRETURN PTODBC::SQLDescribeCol(void*, PTODBC::SQLUSMALLINT,
> PTODBC::SQLCHAR*, PTODBC::SQLSMALLINT, PTODBC::SQLSMALLINT*,
> PTODBC::SQLSMALLINT*, long unsigned int*, PTODBC::SQLSMALLINT*,
> PTODBC::SQLSMALLINT*)'
> ../../ptclib/podbc.cxx: In member function 'PString
> PODBCRecord::ColumnName(PINDEX)':
> ../../ptclib/podbc.cxx:1517: error: 'TCHAR' was not declared in this
> scope ../../ptclib/podbc.cxx:1517: error: expected `;' before 'Name'
> ../../ptclib/podbc.cxx:1521: error: 'LPTSTR' was not declared in this
> scope ../../ptclib/podbc.cxx:1522: error: 'Name' was not declared in
> this scope ../../ptclib/podbc.cxx: At global scope:
> ../../ptclib/podbc.cxx:1535: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1535: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1535: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1553: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1553: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1553: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx:1567: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1567: error: reference to 'BOOL' is ambiguous
> /usr/ports/devel/pwlib/work/ptlib_v1_12_0/include/ptlib/unix/ptlib/contain.h:135:
> error: candidates are: typedef int BOOL
> /usr/local/include/iodbcunix.h:136: error:                 typedef int
> PTODBC::BOOL
> ../../ptclib/podbc.cxx:1567: error: 'BOOL' does not name a type
> ../../ptclib/podbc.cxx: In member function 'unsigned int
> PODBCRecord::ColumnPrecision(PINDEX)':
> ../../ptclib/podbc.cxx:1590: error: cannot convert 'PTODBC::SWORD*' to
> 'long int*' for argument '7' to 'PTODBC::SQLRETURN
> PTODBC::SQLColAttribute(void*, PTODBC::SQLUSMALLINT,
> PTODBC::SQLUSMALLINT, void*, PTODBC::SQLSMALLINT,
> PTODBC::SQLSMALLINT*, long int*)'
> gmake[3]: ***
> [/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/podbc.o] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix'
> gmake[2]: *** [debug] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/devel/pwlib/work/ptlib_v1_12_0' gmake[1]: *** [libs]
> Error 2 gmake[1]: Leaving directory
> `/usr/ports/devel/pwlib/work/ptlib_v1_12_0' gmake: *** [debuglibs]
> Error 2 *** Error code 2
>
> Stop in /usr/ports/devel/pwlib.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade.1857.0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=pwlib-1.10.3_4,1 UPGRADE_PORT_VER=1.10.3_4,1 make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>        ! devel/pwlib (pwlib-1.10.3_4,1)        (bad C++ code) 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?029f01c87ee4$7485fb00$c000040a>