From jmt@duchess.twilley.org  Thu Jun 19 21:00:23 2003
Return-Path: <jmt@duchess.twilley.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E328137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Jun 2003 21:00:23 -0700 (PDT)
Received: from duchess.twilley.org (dsl092-188-219.sfo1.dsl.speakeasy.net [66.92.188.219])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D241343F93
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Jun 2003 21:00:22 -0700 (PDT)
	(envelope-from jmt@duchess.twilley.org)
Received: by duchess.twilley.org (Postfix, from userid 1001)
	id 1F9263F41D; Thu, 19 Jun 2003 14:48:21 -0700 (PDT)
Message-Id: <20030619214821.1F9263F41D@duchess.twilley.org>
Date: Thu, 19 Jun 2003 14:48:21 -0700 (PDT)
From: Jack Twilley <jmt@twilley.org>
Reply-To: Jack Twilley <jmt@twilley.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: palm/pilot-link does not compile on 5.1-RELEASE
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53533
>Category:       ports
>Synopsis:       palm/pilot-link does not compile on 5.1-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 19 21:00:26 PDT 2003
>Closed-Date:    Thu Jul 24 06:57:58 PDT 2003
>Last-Modified:  Thu Jul 24 06:57:58 PDT 2003
>Originator:     Jack Twilley
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD duchess.twilley.org 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Mon Jun 16 07:00:17 PDT 2003 root@:/usr/obj/usr/src/sys/DUCHESS i386


>Description:
	The palm/pilot-link port has a file, ccexample.cc, which
        does not compile on 5.1-RELEASE.  

        Here are the errors:

source='ccexample.cc' object='ccexample.o' libtool=no  depfile='.deps/ccexample.Po' tmpdepfile='.deps/ccexample.TPo'  depmode=gcc3 /bin/sh ../depcomp  c++ -DHAVE_CONFIG_H -I. -I. -I.. -Iinclude		 -I../include  		 		 		      -O -pipe -mcpu=pentiumpro -I/usr/local/include -I/usr/local/include/tcl8.3 -c -o ccexample.o `test -f ccexample.cc || echo './'`ccexample.cc
ccexample.cc: In function `void printCategoryNames(appInfo_t&)':
ccexample.cc:51: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc: In function `void memos(pi_file*)':
ccexample.cc:63: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here
ccexample.cc:87: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:99: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:100: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:114: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here
ccexample.cc: In function `void todos(pi_file*)':
ccexample.cc:127: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here
ccexample.cc:151: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:163: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:165: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:167: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:168: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:172: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:174: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:176: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:177: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:186: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here
ccexample.cc: In function `void prettyPrintRepeat(appointment_t*)':
ccexample.cc:217: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:219: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:228: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:232: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:238: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:241: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:244: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:248: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:252: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:255: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:258: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:261: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:264: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:267: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:270: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:272: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:274: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:277: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:280: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:282: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:285: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here
ccexample.cc: In function `void datebook(pi_file*)':
ccexample.cc:295: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here
ccexample.cc:320: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:333: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:335: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:337: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:340: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:345: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:348: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:351: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:353: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:356: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:358: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:364: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:368: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:371: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:374: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:377: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:379: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc: In function `void addresses(pi_file*)':
ccexample.cc:391: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here
ccexample.cc:418: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:430: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:433: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:438: use of `cout' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cout' here
/usr/include/g++/iostream:51:   also declared as `std::ostream std::cout' here
ccexample.cc:447: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here
ccexample.cc: In function `int main(int, char**)':
ccexample.cc:456: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here
ccexample.cc:483: use of `cerr' is ambiguous
/usr/include/g++/iostream.h:250:   first declared as `_IO_ostream_withassign 
   cerr' here
/usr/include/g++/iostream:52:   also declared as `std::ostream std::cerr' here

>How-To-Repeat:
        Install a 5.1-RELEASE system from CD.
        Attempt to build the palm/pilot-link port.

>Fix:
	I removed bin/ccexample from pkg-plist and made a new patch which
        removed all trace of ccexample from src/Makefile.in and 
        src/Makefile.am as I do not use the file.
>Release-Note:
>Audit-Trail:

From: Jack Twilley <jmt@twilley.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/53533: palm/pilot-link does not compile on 5.1-RELEASE
Date: Fri, 20 Jun 2003 14:42:44 -0700

 --=-=-=
 Content-Transfer-Encoding: quoted-printable
 
 I removed /usr/include and reinstalled world, and this problem went
 away.
 
 Jack.
 =2D-=20
 Jack Twilley
 jmt at twilley dot org
 http colon slash slash www dot twilley dot org slash tilde jmt slash
 
 --=-=-=
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.2 (FreeBSD)
 
 iD8DBQA+83/ZGPFSfAB/ezgRAsXfAKDHFZuuNwtZWoyJKCuq9eC/3T471ACgva8D
 fsmsTMFAPn+kpLvrFFf4u2A=
 =GXtN
 -----END PGP SIGNATURE-----
 --=-=-=--
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Thu Jul 24 06:57:36 PDT 2003 
State-Changed-Why:  
Problem with stale header files. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53533 
>Unformatted:
