Jukka Salmi --> rxvt-unicode (2007-06-28 18:52:12 +0200):
> Hi,
> 
> today's HEAD sources fail to build on my NetBSD system; I'm getting
> lots of undefined references:
> 
> [...]
> g++ -DHAVE_CONFIG_H  -g -O3 [...] -c rxvttoolkit.C
> g++ -DHAVE_CONFIG_H  -g -O3 [...] -c rxvtutil.C
> g++ -DHAVE_CONFIG_H  -g -O3 [...] -c iom.C
> g++ -DHAVE_CONFIG_H  -g -O3 [...] -c keyboard.C
> g++ -DHAVE_CONFIG_H  -g -O3 [...] -c fdpass.C
> gcc -Wl,-rpath,/usr/X11R6/lib -o rxvt rxvt.o command.o rxvtfont.o init.o 
> logging.o main.o misc.o netdisp.o ptytty.o proxy.o screen.o scrollbar.o 
> scrollbar-next.o scrollbar-rxvt.o  scrollbar-xterm.o scrollbar-plain.o 
> xdefaults.o xpm.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o 
> fdpass.o -L/usr/X11R6/lib -lX11
> rxvt.o: In function `main':
> /usr/local/src/rxvt-unicode/src/rxvt.C:59: undefined reference to 
> `__cxa_begin_catch'
> /usr/local/src/rxvt-unicode/src/rxvt.C:59: undefined reference to 
> `__cxa_end_catch'
> [...]
> 
> Using g++ instead of gcc for linking solves the problem. However, since
> I'm not autocapable I don't know how to correctly fix configure.ac.
> Help and hints are appreciated.

This went out a little bit too fast... Some additional information:

$ LDFLAGS='-Wl,-rpath,/usr/X11R6/lib' ./configure --prefix=/usr/local 
--disable-xft --disable-xim --disable-xpm-background --disable-transparency 
--disable-fading --disable-tinting --disable-mousewheel --disable-slipwheeling 
--disable-perl
[...]
checking for working libsupc++... ok
[...]
  Rxvt version:               8.2 : 2007-02-17
  Source code location:       .
  Install path:               /usr/local/bin
  Compiler:                   g++
  Compiler flags:             -g -O3 -fno-threadsafe-statics 
-fno-enforce-eh-specs
  Linker:                     gcc
  AfterStep integration:      yes
  default resource name:      urxvt
  resource class:             URxvt
  resource class fallback:    Rxvt

  embedded perl:              no
[...]


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to