configure ---enable-debug=yes is not working.
1. problem: Compiling stops with a message that
CW_DEBUG needs to be defined.
2. libcw is not linked so we have an undefined symbol.
Another question: Do we really need this library just
to output debug messages?
Logged In: YES
user_id=564388
Please post the complete message (including gcc or g++ line)
with the error output. Does the link command have a -lcwd
flag?
Logged In: YES
user_id=796299
~/id3lib-stable> configure --enable-debug=yes
Making all in src
make[2]: Entering directory `/home/ralf/id3lib-stable/src'
source='c_wrapper.cpp' object='c_wrapper.lo' libtool=yes \
depfile='.deps/c_wrapper.Plo'
tmpdepfile='.deps/c_wrapper.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I../include/id3 -I../include -g -O2 -Wall
-Wno-unused -Wno-inline -Woverloaded-virtual
-Wmissing-declarations -c -o c_wrapper.lo `test -f
'c_wrapper.cpp' || echo './'`c_wrapper.cpp
rm -f .libs/c_wrapper.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3
-I../include -g -O2 -Wall -Wno-unused -Wno-inline
-Woverloaded-virtual -Wmissing-declarations -c c_wrapper.cpp
-MT c_wrapper.lo -MD -MP -MF .deps/c_wrapper.TPlo -fPIC
-DPIC -o .libs/c_wrapper.lo
cc1plus: warning: "-Wmissing-declarations" is valid for
C/ObjC but not for C++
In file included from ../config.h:200,
from ../include/id3/utils.h:32,
from ../include/id3/tag.h:34,
from c_wrapper.cpp:30:
/usr/local/include/libcw/debug.h:40:2: #error "You are
including <libcwd/debug.h> while CWDEBUG is not defined.
See the comments in this header file for more information."
make[2]: *** [c_wrapper.lo] Fehler 1
make[2]: Leaving directory `/home/ralf/id3lib-stable/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/ralf/id3lib-stable'
For the other error (lot linked libcw) please see for
yourself. Expeciall in configure.in where you can only see a
check for the header.
Logged In: YES
user_id=796299
~/id3lib-stable> configure --enable-debug=yes
Making all in src
make[2]: Entering directory `/home/ralf/id3lib-stable/src'
source='c_wrapper.cpp' object='c_wrapper.lo' libtool=yes \
depfile='.deps/c_wrapper.Plo'
tmpdepfile='.deps/c_wrapper.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I../include/id3 -I../include -g -O2 -Wall
-Wno-unused -Wno-inline -Woverloaded-virtual
-Wmissing-declarations -c -o c_wrapper.lo `test -f
'c_wrapper.cpp' || echo './'`c_wrapper.cpp
rm -f .libs/c_wrapper.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3
-I../include -g -O2 -Wall -Wno-unused -Wno-inline
-Woverloaded-virtual -Wmissing-declarations -c c_wrapper.cpp
-MT c_wrapper.lo -MD -MP -MF .deps/c_wrapper.TPlo -fPIC
-DPIC -o .libs/c_wrapper.lo
cc1plus: warning: "-Wmissing-declarations" is valid for
C/ObjC but not for C++
In file included from ../config.h:200,
from ../include/id3/utils.h:32,
from ../include/id3/tag.h:34,
from c_wrapper.cpp:30:
/usr/local/include/libcw/debug.h:40:2: #error "You are
including <libcwd/debug.h> while CWDEBUG is not defined.
See the comments in this header file for more information."
make[2]: *** [c_wrapper.lo] Fehler 1
make[2]: Leaving directory `/home/ralf/id3lib-stable/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/ralf/id3lib-stable'
For the other error (lot linked libcw) please see for
yourself. Expeciall in configure.in where you can only see a
check for the header.