public
Description: Files and scripts dedicated to the Rivendell debian packaging
Homepage: http://peope.tryphon.org/~alban
Clone URL: git://github.com/albanpeignier/rivendell-debian.git
rivendell-debian / tickets / 20081113-1226573081-intreprid-pamrd-libpam.txt
d38ee86c » albanpeignier 2008-11-13 New log after a test with -... 1 Description: pam_rd linking problem
fb38b7da » albanpeignier 2008-11-13 Temporary storage of build ... 2 Platforms: intrepid_i386, intrepid_amd64
3
4 pam_rd.cpp: In function 'int pam_sm_authenticate(pam_handle_t*, int, int, const char**)':
5 pam_rd.cpp:205: warning: deprecated conversion from string constant to 'char*'
6 pam_rd.cpp:291: warning: format not a string literal and no format arguments
7 /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
8 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
9 /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crt1.o: In function `_start':
10 (.text+0x20): undefined reference to `main'
11 pam_rd.o: In function `converse(pam_handle*, int, pam_message**, pam_response**)':
12 /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:142: undefined reference to `pam_get_item'
13 /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:152: undefined reference to `pam_strerror'
14 /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:149: undefined reference to `pam_strerror'
15 pam_rd.o: In function `ask_passwd(pam_handle*, int)':
16 /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:182: undefined reference to `pam_set_item'
17 pam_rd.o: In function `pam_sm_authenticate':
18 /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:224: undefined reference to `pam_get_user'
19 /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:245: undefined reference to `pam_get_item'
20 /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:229: undefined reference to `pam_strerror'
21 /tmp/buildd/rivendell-1.1.1/pam_rd/pam_rd.cpp:237: undefined reference to `pam_get_item'
22 collect2: ld returned 1 exit status
d38ee86c » albanpeignier 2008-11-13 New log after a test with -... 23
0fa7aebe » albanpeignier 2008-11-13 Add output for a successful... 24 with -lpam :
d38ee86c » albanpeignier 2008-11-13 New log after a test with -... 25
26 make[2]: Entering directory `/tmp/buildd/rivendell-1.1.1/pam_rd'
27 if g++ -DPACKAGE_NAME=\"rivendell\" -DPACKAGE_TARNAME=\"rivendell\" -DPACKAGE_VERSION=\"\`cat\ PACKAGE_VERSION\`\" -DPACKAGE_STRING=\"rivendell\ \`cat\ PACKAGE_VERSION\`\" -DPACKAGE_BUGREPORT=\"Fred\ Gleason\ \<fredg@paravelsystems.com\>\" -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; \
28 then mv -f ".deps/pam_rd.Tpo" ".deps/pam_rd.Po"; else rm -f ".deps/pam_rd.Tpo"; exit 1; fi
29 pam_rd.cpp: In function 'int pam_sm_authenticate(pam_handle_t*, int, int, const char**)':
30 pam_rd.cpp:205: warning: deprecated conversion from string constant to 'char*'
31 pam_rd.cpp:291: warning: format not a string literal and no format arguments
32 /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
33 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
34 /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crt1.o: In function `_start':
35 (.text+0x18): undefined reference to `main'
36 collect2: ld returned 1 exit status
0fa7aebe » albanpeignier 2008-11-13 Add output for a successful... 37
38 successfull linking on debian stable i386 :
39
40 make[2]: Leaving directory `/tmp/buildd/rivendell-1.1.1/importers'
41 Making all in pam_rd
42 make[2]: Entering directory `/tmp/buildd/rivendell-1.1.1/pam_rd'
43 /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
44 mkdir .libs
45 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
46 creating pam_rd.so
47 make[2]: Leaving directory `/tmp/buildd/rivendell-1.1.1/pam_rd'
48
49 libtool versions :
50
51 Ubuntu intreprid : 2.2.4-0ubuntu4
52 Debian unstable : 1.5.26-4