this is my output when I try to compile samba-3.5.2 using the spec file provided in the samba packages: Linking bin/smbclient /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `PC' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetflag' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetent' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `UP' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tputs' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgoto' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetnum' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `BC' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetstr' collect2: ld returned 1 exit status make: *** [bin/smbclient] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.14813 (%build) any ideas? werner
Werner Maes wrote:> this is my output when I try to compile samba-3.5.2 using the spec file provided in the samba packages: > > Linking bin/smbclient > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `PC' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetflag' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetent' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `UP' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tputs' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgoto' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetnum' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `BC' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetstr' > collect2: ld returned 1 exit status > make: *** [bin/smbclient] Error 1 > error: Bad exit status from /var/tmp/rpm-tmp.14813 (%build) > > > any ideas? > > wernerIn all likelihood you need to consult the following thread from over the last few days. RHEL 5 compilation of Samba 3.5.2, termcap library problem, use --no-as-needed' -- Mike Rambo NOTE: In order to control energy costs the light at the end of the tunnel has been shut off until further notice...
https://bugzilla.samba.org/show_bug.cgi?id=7209 <https://bugzilla.samba.org/show_bug.cgi?id=7209> On Thu, Apr 15, 2010 at 9:19 AM, Werner Maes <Werner.Maes at icts.kuleuven.be>wrote:> this is my output when I try to compile samba-3.5.2 using the spec file > provided in the samba packages: > > Linking bin/smbclient > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined > reference to `PC' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined > reference to `tgetflag' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined > reference to `tgetent' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined > reference to `UP' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined > reference to `tputs' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined > reference to `tgoto' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined > reference to `tgetnum' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined > reference to `BC' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined > reference to `tgetstr' > collect2: ld returned 1 exit status > make: *** [bin/smbclient] Error 1 > error: Bad exit status from /var/tmp/rpm-tmp.14813 (%build) > > > any ideas? > > werner > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >