frank brown
2003-08-13 00:16:34 UTC
Building khdrecord emits the following error:
[...]
g++ -o KHdRecord -L /usr/lib/qt-3.1/lib \
main.o \
-lpthread \
-L. -Llib/ -lhdrecord -lmp3lame -lvorbis -lvorbisenc -logg -lqt-mt \
-L/opt/kde3/lib -lartsc
lib//libmp3lame.a(id3tag.o)(.text+0x82): In function `id3tag_set_genre':
: undefined reference to `__ctype_tolower'
lib//libvorbis.a(info.o)(.text+0x2a4): In function `vorbis_comment_query':
: undefined reference to `__ctype_toupper'
lib//libvorbis.a(info.o)(.text+0x3b3): In function
`vorbis_comment_query_count':: undefined reference to `__ctype_toupper'
collect2: ld returned 1 exit status
Not a seasoned linux developer, I tried #including <ctype.h> in main.c but
the errors persist. Looks like they're coming from existing libraries
which I don't understand. Any suggestions on how to fix this?
TIA,
-Frank Brown
http://www.inwa.net/~frog/
[...]
g++ -o KHdRecord -L /usr/lib/qt-3.1/lib \
main.o \
-lpthread \
-L. -Llib/ -lhdrecord -lmp3lame -lvorbis -lvorbisenc -logg -lqt-mt \
-L/opt/kde3/lib -lartsc
lib//libmp3lame.a(id3tag.o)(.text+0x82): In function `id3tag_set_genre':
: undefined reference to `__ctype_tolower'
lib//libvorbis.a(info.o)(.text+0x2a4): In function `vorbis_comment_query':
: undefined reference to `__ctype_toupper'
lib//libvorbis.a(info.o)(.text+0x3b3): In function
`vorbis_comment_query_count':: undefined reference to `__ctype_toupper'
collect2: ld returned 1 exit status
Not a seasoned linux developer, I tried #including <ctype.h> in main.c but
the errors persist. Looks like they're coming from existing libraries
which I don't understand. Any suggestions on how to fix this?
TIA,
-Frank Brown
http://www.inwa.net/~frog/