Re: library/linking problems

2004-02-10 Thread Joey Mingrone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kent,

I did a comparison with a similar box at work and there were two libs 
in /usr/local/lib on my box that weren't on the box at work.  They 
were /usr/local/lib/libstdc++.a and /usr/local/lib/libstdc++.la*.  I did a 
pkg_which on them but no port matches.  I'm not sure how they got there, but 
after moving them out of the way ports starting linking again.  Thanks for 
you help.  ...very much appreciated.

Cheers,

Joey

On February 10, 2004 01:30, Kent Stewart wrote:
 On Monday 09 February 2004 07:29 pm, Joey Mingrone wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Thanks for the tips Kent.  I'm running 4.9 (4.9-RELEASE-p2).
 
  I also did a cvsup of the ports tree and a portsdb -uU, and after
  make/buid world and a new kernel I also deleted everything is
  /usr/include/g++ and did: cd /usr/src  rm -r /usr/include/g++ 
  make includes
 
  portupgrade -Rf id3lib updates the dependencies properly but still
  produces the same errors.
 
  I'm guessing the problem is in /usr/lib???I

 I logged my build and then cp'ed your output onto my machine. We compare
 until yours gets to section on Making all in examples and then after,
 mkdir .libs, yours falls apart and mine makes the lib and then
 proceeds to creating id3info. The only -L is /usr/local/lib. The
 undefined references are typical c++ stuff. For example,

 demo_info.o: In function `PrintUsage(char const *)':
 demo_info.o(.text+0x1d): undefined reference to `cout'
 demo_info.o(.text+0x22): undefined reference to
 `ostream::operator(char const *)'
 demo_info.o(.text+0x2b): undefined reference to
 `ostream::operator(char const *)'
 demo_info.o(.text+0x34): undefined reference to
 `ostream::operator(char const *)'
 demo_info.o(.text+0x40): undefined reference to `endl(ostream )'

 Do you have any refuses where you could be using old code or options
 in /etc/make.conf? Also, are you cvsuping src-all completely. I am
 running 4.9-stable but we shouldn't be that different.

 Kent

  Thanks,
 
  Joey
 
  On February 9, 2004 16:53, Kent Stewart wrote:
   On Monday 09 February 2004 07:38 am, Joey Mingrone wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
   
Hi,
   
I have some sort of problem with my c++ stream libraries.  A
bunch of ports that rely on things like cerr are giving linking
errors.  (lots of undefined reference to `cerr', undefined
reference to `ostream::operator(char const *)').
   
I've posted output from the some the builds that fail at
http://mingrone.org/errors/.
   
I also cvsuped my sources and rebuilt userland and my kernel, but
no luck.
  
   Just to make sure, did you reboot?  You appear to be running 5.x
   but gives us a uname -a to let us see.
  
Any suggestions?
  
   I don't know which header is missing. Since you seem to have a
   general problem, I think I would a pattern for what is broken by
   doing the following: cvsup ports-all, make index, and portsdb -u.
  
   Then portupgrade -Rf id3lib. The will rebuild everything that
   id3lib uses and you will see more quickly if it fixes your problem
   than to rebuild the pieces of arts-1.1.4
  
   I have kde-3.2 running on both 4.9-stable and 5.2-current. I am
   using kmail from 3.2 to send this. Building it on -current I had to
   use a kluge but it works. When someone figures out the real fix, I
   will rebuild everything to get away from the kluge.
  
   Kent
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAKbzB0NQPEWppBZsRAuINAJ4of09CNtq6VJrX7Fxq2h2T0xsOzwCgoWfw
vrSWRB7SJSUrxA+lzEo/iTU=
=6Xc3
-END PGP SIGNATURE-

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


library/linking problems

2004-02-09 Thread Joey Mingrone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I have some sort of problem with my c++ stream libraries.  A bunch of ports 
that rely on things like cerr are giving linking errors.  (lots of undefined 
reference to `cerr', undefined reference to `ostream::operator(char const 
*)').  

I've posted output from the some the builds that fail at 
http://mingrone.org/errors/.

I also cvsuped my sources and rebuilt userland and my kernel, but no luck.

Any suggestions?

Thanks,

Joey

- -- 

Joey Mingrone
[EMAIL PROTECTED]
(902) 423-7327
http://mingrone.org

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAJ6lu0NQPEWppBZsRAsPRAJ9n5ueGhRpMDFZcu/pkZLUS7t0fhQCfQnPS
EnE0rgskQzngT0BEE5HSkL4=
=g1Ip
-END PGP SIGNATURE-

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: library/linking problems

2004-02-09 Thread Kent Stewart
On Monday 09 February 2004 07:38 am, Joey Mingrone wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 I have some sort of problem with my c++ stream libraries.  A bunch of
 ports that rely on things like cerr are giving linking errors.  (lots
 of undefined reference to `cerr', undefined reference to
 `ostream::operator(char const *)').

 I've posted output from the some the builds that fail at
 http://mingrone.org/errors/.

 I also cvsuped my sources and rebuilt userland and my kernel, but no
 luck.

Just to make sure, did you reboot?  You appear to be running 5.x but 
gives us a uname -a to let us see.


 Any suggestions?


I don't know which header is missing. Since you seem to have a general 
problem, I think I would a pattern for what is broken by doing the 
following: cvsup ports-all, make index, and portsdb -u. 

Then portupgrade -Rf id3lib. The will rebuild everything that id3lib 
uses and you will see more quickly if it fixes your problem than to 
rebuild the pieces of arts-1.1.4

I have kde-3.2 running on both 4.9-stable and 5.2-current. I am using 
kmail from 3.2 to send this. Building it on -current I had to use a 
kluge but it works. When someone figures out the real fix, I will 
rebuild everything to get away from the kluge.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: library/linking problems

2004-02-09 Thread Joey Mingrone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks for the tips Kent.  I'm running 4.9 (4.9-RELEASE-p2).

I also did a cvsup of the ports tree and a portsdb -uU, and after make/buid 
world and a new kernel I also deleted everything is /usr/include/g++ and did:
cd /usr/src  rm -r /usr/include/g++  make includes

portupgrade -Rf id3lib updates the dependencies properly but still produces 
the same errors.

I'm guessing the problem is in /usr/lib???

Thanks,

Joey

On February 9, 2004 16:53, Kent Stewart wrote:
 On Monday 09 February 2004 07:38 am, Joey Mingrone wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Hi,
 
  I have some sort of problem with my c++ stream libraries.  A bunch of
  ports that rely on things like cerr are giving linking errors.  (lots
  of undefined reference to `cerr', undefined reference to
  `ostream::operator(char const *)').
 
  I've posted output from the some the builds that fail at
  http://mingrone.org/errors/.
 
  I also cvsuped my sources and rebuilt userland and my kernel, but no
  luck.

 Just to make sure, did you reboot?  You appear to be running 5.x but
 gives us a uname -a to let us see.

  Any suggestions?

 I don't know which header is missing. Since you seem to have a general
 problem, I think I would a pattern for what is broken by doing the
 following: cvsup ports-all, make index, and portsdb -u.

 Then portupgrade -Rf id3lib. The will rebuild everything that id3lib
 uses and you will see more quickly if it fixes your problem than to
 rebuild the pieces of arts-1.1.4

 I have kde-3.2 running on both 4.9-stable and 5.2-current. I am using
 kmail from 3.2 to send this. Building it on -current I had to use a
 kluge but it works. When someone figures out the real fix, I will
 rebuild everything to get away from the kluge.

 Kent


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAKFAR0NQPEWppBZsRAl56AKDq+P0tO7vDb+XyGRLn/BDv3KLb1QCgp5tP
dUWagEDQ1gtYObLKCRnfjao=
=NsRt
-END PGP SIGNATURE-

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: library/linking problems

2004-02-09 Thread Kent Stewart
On Monday 09 February 2004 07:29 pm, Joey Mingrone wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Thanks for the tips Kent.  I'm running 4.9 (4.9-RELEASE-p2).

 I also did a cvsup of the ports tree and a portsdb -uU, and after
 make/buid world and a new kernel I also deleted everything is
 /usr/include/g++ and did: cd /usr/src  rm -r /usr/include/g++ 
 make includes

 portupgrade -Rf id3lib updates the dependencies properly but still
 produces the same errors.

 I'm guessing the problem is in /usr/lib???I

I logged my build and then cp'ed your output onto my machine. We compare 
until yours gets to section on Making all in examples and then after, 
mkdir .libs, yours falls apart and mine makes the lib and then 
proceeds to creating id3info. The only -L is /usr/local/lib. The 
undefined references are typical c++ stuff. For example,

demo_info.o: In function `PrintUsage(char const *)':
demo_info.o(.text+0x1d): undefined reference to `cout'
demo_info.o(.text+0x22): undefined reference to 
`ostream::operator(char const *)'
demo_info.o(.text+0x2b): undefined reference to 
`ostream::operator(char const *)'
demo_info.o(.text+0x34): undefined reference to 
`ostream::operator(char const *)'
demo_info.o(.text+0x40): undefined reference to `endl(ostream )'

Do you have any refuses where you could be using old code or options 
in /etc/make.conf? Also, are you cvsuping src-all completely. I am 
running 4.9-stable but we shouldn't be that different.

Kent


 Thanks,

 Joey

 On February 9, 2004 16:53, Kent Stewart wrote:
  On Monday 09 February 2004 07:38 am, Joey Mingrone wrote:
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
  
   Hi,
  
   I have some sort of problem with my c++ stream libraries.  A
   bunch of ports that rely on things like cerr are giving linking
   errors.  (lots of undefined reference to `cerr', undefined
   reference to `ostream::operator(char const *)').
  
   I've posted output from the some the builds that fail at
   http://mingrone.org/errors/.
  
   I also cvsuped my sources and rebuilt userland and my kernel, but
   no luck.
 
  Just to make sure, did you reboot?  You appear to be running 5.x
  but gives us a uname -a to let us see.
 
   Any suggestions?
 
  I don't know which header is missing. Since you seem to have a
  general problem, I think I would a pattern for what is broken by
  doing the following: cvsup ports-all, make index, and portsdb -u.
 
  Then portupgrade -Rf id3lib. The will rebuild everything that
  id3lib uses and you will see more quickly if it fixes your problem
  than to rebuild the pieces of arts-1.1.4
 
  I have kde-3.2 running on both 4.9-stable and 5.2-current. I am
  using kmail from 3.2 to send this. Building it on -current I had to
  use a kluge but it works. When someone figures out the real fix, I
  will rebuild everything to get away from the kluge.
 
  Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]