Re: [kde-freebsd] [3.0.1] gcc/g++ 3.1 problems

2002-06-25 Thread Terry Lambert

Ollivier Robert wrote:
> According to Michael Nottebrock:
> > You need a clean /usr/include. Remove the old one and 'make includes' in
> 
> Good, that I had.
> 
> > /usr/src. Please make also sure your ports-tree is up to date. I think
> > you're using an old bsd.kde.mk.
> 
> That was it, thanks.

Looks like I missed seeing the commit message that updated the
STL.

Please disregard the last message on the STL.

This is cool; I love it when I wrong about things like this...

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [3.0.1] gcc/g++ 3.1 problems

2002-06-25 Thread Terry Lambert

Ollivier Robert wrote:
> I've upgraded my CURRENT system to a post gcc 3.1 world and I'm now unable
> to compile any C++ program that use the STL (incl. KDE 3.0.1). I happens
> with the system g++ 3.1 and the ports g++ 3.1.1 and with both a clean
> /usr/include/g++ and the old one (which has lots of older files due to
> CURRENT evolution). The weird thing is that my laptop, also running
> CURRENT, is fine.
> 
> Any idea ?

You must manually update the system STL.

This is a FAQ for GCC 3.1 in -current.

As a well known C++ guru, you're probably the perfect person to
update the system STL in the source tree... 8-) 8-).

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [kde-freebsd] [3.0.1] gcc/g++ 3.1 problems

2002-06-25 Thread Ollivier Robert

According to Michael Nottebrock:
> You need a clean /usr/include. Remove the old one and 'make includes' in 

Good, that I had.

> /usr/src. Please make also sure your ports-tree is up to date. I think 
> you're using an old bsd.kde.mk.

That was it, thanks.
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- [EMAIL PROTECTED]
FreeBSD keltia.freenix.fr 5.0-CURRENT #80: Sun Jun  4 22:44:19 CEST 2000

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [kde-freebsd] [3.0.1] gcc/g++ 3.1 problems

2002-06-25 Thread Michael Nottebrock

Ollivier Robert wrote:
> Hello,
> 
> I've upgraded my CURRENT system to a post gcc 3.1 world and I'm now unable
> to compile any C++ program that use the STL (incl. KDE 3.0.1). I happens
> with the system g++ 3.1 and the ports g++ 3.1.1 and with both a clean
> /usr/include/g++ and the old one (which has lots of older files due to
> CURRENT evolution). The weird thing is that my laptop, also running
> CURRENT, is fine.

You need a clean /usr/include. Remove the old one and 'make includes' in 
/usr/src. Please make also sure your ports-tree is up to date. I think 
you're using an old bsd.kde.mk.


Regards,
-- 
Michael Nottebrock
"The circumstance ends uglily in the cruel result." - Babelfish



msg39953/pgp0.pgp
Description: PGP signature


[3.0.1] gcc/g++ 3.1 problems

2002-06-25 Thread Ollivier Robert

Hello,

I've upgraded my CURRENT system to a post gcc 3.1 world and I'm now unable
to compile any C++ program that use the STL (incl. KDE 3.0.1). I happens
with the system g++ 3.1 and the ports g++ 3.1.1 and with both a clean
/usr/include/g++ and the old one (which has lots of older files due to
CURRENT evolution). The weird thing is that my laptop, also running
CURRENT, is fine.

Any idea ?

I attach the config.log file from kdelibs3. This run is with system-g++ and
old /usr/include. I managed to compile qt 3.0.3 with the ports 3.1.1 g++
though (needed to avoid system-gcc problems).

-=-=-
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52.  Invocation command line was

  $ ./configure --enable-cups --disable-ltdl-install --build=i386-portbld-freebsd5.0 
--disable-debug --with-qt-includes=/usr/X11R6/include 
--with-qt-libraries=/usr/X11R6/lib --with-extra-libs=/usr/local/lib --prefix=/usr/local

## -- ##
## Platform.  ##
## -- ##

hostname = caerdonn.eurocontrol.fr
uname -m = i386
uname -r = 5.0-CURRENT
uname -s = FreeBSD
uname -v = FreeBSD 5.0-CURRENT #0: Mon Jun 10 16:40:23 CEST 2002 
[EMAIL PROTECTED]:/spare/obj/src/src/sys/nCAERDONN 

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH = 
/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/pilot/bin:/usr/local/bin:/usr/local/pgsql/bin:/usr/bin:/usr/sbin:/sbin:/bin:/home/roberto/shell:/usr/local/sbin:/usr/games:/opt/networker/bin:/usr/local/intel/compiler60/ia32/bin:.

##  ##
## Core tests.  ##
##  ##

configure:1176: PATH=".;."; conftest.sh
conftest.sh: not found
configure:1179: $? = 127
configure:1245: checking build system type
configure:1263: result: i386-portbld-freebsd5.0
configure:1270: checking host system type
configure:1284: result: i386-portbld-freebsd5.0
configure:1291: checking target system type
configure:1305: result: i386-portbld-freebsd5.0
configure:1346: checking for a BSD compatible install
configure:1395: result: /usr/bin/install -c -o root -g wheel
configure:1433: checking whether build environment is sane
configure:1476: result: yes
configure:1497: checking for mawk
configure:1523: result: no
configure:1497: checking for gawk
configure:1512: found /usr/bin/gawk
configure:1520: result: gawk
configure:1530: checking whether gmake sets ${MAKE}
configure:1550: result: yes
configure:1651: checking for a BSD compatible install
configure:1700: result: /usr/bin/install -c -o root -g wheel
configure:1721: checking for style of include used by gmake
configure:1748: result: GNU
configure:1869: checking for gcc
configure:1892: result: cc
configure:2120: checking for C compiler version
configure:2123: cc --version &5
cc (GCC) 3.1 [FreeBSD] 20020509 (prerelease)
Copyright (C) 2002 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.

configure:2126: $? = 0
configure:2128: cc -v &5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.1 [FreeBSD] 20020509 (prerelease)
configure:2131: $? = 0
configure:2133: cc -V &5
cc: argument to `-V' is missing
configure:2136: $? = 1
configure:2156: checking for C compiler default output
configure:2159: cc  -O -pipe -march=pentiumpro  -I/usr/include -I/usr/local/include 
-I/usr/local/include  -I/usr/X11R6/include  conftest.c -Wl,-export-dynamic 
-L/usr/local/lib -L/usr/X11R6/lib -ljpeg  -L/usr/X11R6/lib >&5
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:2162: $? = 0
configure:2191: result: a.out
configure:2196: checking whether the C compiler works
configure:2202: ./a.out
configure:2205: $? = 0
configure:2220: result: yes
configure:2227: checking whether we are cross compiling
configure:2229: result: no
configure:2232: checking for executable suffix
configure:2234: cc -o conftest  -O -pipe -march=pentiumpro  -I/usr/include 
-I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include  conftest.c 
-Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg  -L/usr/X11R6/lib >&5
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system