Description: pam_rd linking problem Platforms: intrepid_i386, intrepid_amd64 pam_rd.cpp: In function 'int pam_sm_authenticate(pam_handle_t*, int, int, const char**)': pam_rd.cpp:205: warning: deprecated conversion from string constant to 'char*' pam_rd.cpp:291: warning: format not a string literal and no format arguments /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -Wl,-Bsymbolic-functions -o pam_rd.so -shared -Xlinker -x pam_rd.o -lqui -lrd -lid3 -lFLAC -lvorbisfile -lvorbisenc -L/usr/share/qt3/lib -lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi -L../lib libtool: link: g++ -g -O2 -Wl,-Bsymbolic-functions -o .libs/pam_rd.so -Wl,-x pam_rd.o -lqui /tmp/buildd/rivendell-1.1.1/lib/.libs/librd.so /usr/lib/libid3.so /usr/lib/libFLAC.so -L/usr/lib /usr/lib/libvorbisfile.so /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so /usr/lib/libogg.so -L/usr/share/qt3/lib /usr/lib/libqt-mt.so -L/usr/X11R6/lib -laudio /usr/lib/libjpeg.so -lpng -lz -lXrender -lXrandr -lXcursor -lXinerama -lXft /usr/lib/libfreetype.so -lfontconfig -lm -ldl -lpthread -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi -L/tmp/buildd/rivendell-1.1.1/lib /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' pam_rd.o: In function `converse(pam_handle*, int, pam_message**, pam_response**)': /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:142: undefined reference to `pam_get_item' /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:152: undefined reference to `pam_strerror' /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:149: undefined reference to `pam_strerror' pam_rd.o: In function `ask_passwd(pam_handle*, int)': /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:182: undefined reference to `pam_set_item' pam_rd.o: In function `pam_sm_authenticate': /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:224: undefined reference to `pam_get_user' /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:245: undefined reference to `pam_get_item' /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:229: undefined reference to `pam_strerror' /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:237: undefined reference to `pam_get_item' collect2: ld returned 1 exit status with -lpam : make[2]: Entering directory `/tmp/buildd/rivendell-1.1.1/pam_rd' if g++ -DPACKAGE_NAME=\"rivendell\" -DPACKAGE_TARNAME=\"rivendell\" -DPACKAGE_VERSION=\"\`cat\ PACKAGE_VERSION\`\" -DPACKAGE_STRING=\"rivendell\ \`cat\ PACKAGE_VERSION\`\" -DPACKAGE_BUGREPORT=\"Fred\ Gleason\ \\" -DPACKAGE=\"rivendell\" -DVERSION=\"1.1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_VORBIS=1 -DHPI=yes -DJACK=yes -DALSA=yes -DSRC=yes -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1 -I. -I. -I../lib -Wall -DPREFIX=\"/usr/local\" -DQTDIR=\"/usr/share/qt3\" -fPIC -I/usr/share/qt3/include -DQT_THREAD_SUPPORT -g -O2 -MT pam_rd.o -MD -MP -MF ".deps/pam_rd.Tpo" -c -o pam_rd.o pam_rd.cpp; \ then mv -f ".deps/pam_rd.Tpo" ".deps/pam_rd.Po"; else rm -f ".deps/pam_rd.Tpo"; exit 1; fi pam_rd.cpp: In function 'int pam_sm_authenticate(pam_handle_t*, int, int, const char**)': pam_rd.cpp:205: warning: deprecated conversion from string constant to 'char*' pam_rd.cpp:291: warning: format not a string literal and no format arguments /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -Wl,-Bsymbolic-functions -o pam_rd.so -shared -Xlinker -x pam_rd.o -lqui -lrd -lid3 -lFLAC -lpam -lvorbisfile -lvorbisenc -L/usr/share/qt3/lib -lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi -L../lib libtool: link: g++ -g -O2 -Wl,-Bsymbolic-functions -o .libs/pam_rd.so -Wl,-x pam_rd.o -lqui /tmp/buildd/rivendell-1.1.1/lib/.libs/librd.so /usr/lib/libid3.so /usr/lib/libFLAC.so -L/usr/lib -lpam /usr/lib/libvorbisfile.so /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so /usr/lib/libogg.so -L/usr/share/qt3/lib /usr/lib/libqt-mt.so -L/usr/X11R6/lib -laudio /usr/lib/libjpeg.so -lpng -lz -lXrender -lXrandr -lXcursor -lXinerama -lXft /usr/lib/libfreetype.so -lfontconfig -lm -ldl -lpthread -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi -L/tmp/buildd/rivendell-1.1.1/lib /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status successfull linking on debian stable i386 : make[2]: Leaving directory `/tmp/buildd/rivendell-1.1.1/importers' Making all in pam_rd make[2]: Entering directory `/tmp/buildd/rivendell-1.1.1/pam_rd' /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -o pam_rd.so -shared -Xlinker -x pam_rd.o -lqui -lrd -lid3 -lFLAC -lpam -lvorbisfile -lvorbisenc -L/usr/share/qt3/lib -lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi -L../lib mkdir .libs g++ -g -O2 -o .libs/pam_rd.so -shared -Wl,-x pam_rd.o -lqui /tmp/buildd/rivendell-1.1.1/lib/.libs/librd.so /usr/lib/libid3.so /usr/lib/libFLAC.so -lpam /usr/lib/libvorbisfile.so /usr/lib/libvorbisenc.so -L/usr/share/qt3/lib /usr/lib/libqt-mt.so -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi -L/tmp/buildd/rivendell-1.1.1/lib -Wl,--rpath -Wl,/usr/local/lib creating pam_rd.so make[2]: Leaving directory `/tmp/buildd/rivendell-1.1.1/pam_rd' libtool versions : Ubuntu intreprid : 2.2.4-0ubuntu4 Debian unstable : 1.5.26-4