compilation problem with openbox 2.3.1

ahmedre at gehennom.net ahmedre at gehennom.net
Thu Jul 17 19:31:52 EDT 2003


hi,
i am running slackware 9 and when i try to compile openbox 2.3.1, i get
an error as follows :

make[2]: Entering directory `/misc/downloads/openbox-2.3.1/src'
g++  -g -O2  -I/usr/X11R6/include -Wall -W -L/usr/X11R6/lib  -lSM -lICE -o openbox -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig   BaseDisplay.o Basemenu.o Clientmenu.o Color.o Configmenu.o Configuration.o Font.o GCCache.o Iconmenu.o Image.o ImageControl.o Netizen.o Pipemenu.o Rootmenu.o Screen.o Slit.o Texture.o Timer.o Toolbar.o Util.o Window.o Windowmenu.o Workspace.o Workspacemenu.o XAtom.o blackbox.o i18n.o main.o  -L/usr/X11R6/lib -lX11  -lXext
Util.o(.text+0xb7f): In function `iconv_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char const*, char const*)':
/misc/downloads/openbox-2.3.1/src/Util.cc:278: undefined reference to `libiconv_open'
Util.o(.text+0xba5):/misc/downloads/openbox-2.3.1/src/Util.cc:283: undefined reference to `libiconv'
Util.o(.text+0xbae):/misc/downloads/openbox-2.3.1/src/Util.cc:284: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make[2]: *** [openbox] Error 1
make[2]: Leaving directory `/misc/downloads/openbox-2.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/misc/downloads/openbox-2.3.1'
make: *** [all-recursive-am] Error 2


i do have iconv... and if i do a man iconv_close etc they exist -- i did
some searching and i found that other slackware users had the same
problem but had no problem compiling the non testing version (2.2.3).
i just tried this and openbox 2.2.3 compiles perfectly... but 2.3.1
gives the error above.

3.0 alpha 1 compiles fine as well.  i am yet to run both of them but
they both compile no problem.

thanks,
-ahmed



More information about the openbox mailing list