make it all again WITHOUT chkuser, and check in Makefile where the b64encode routine is compiled (probably b64encode in included in other modules). Take care to mantain this routine (or the including module) in the Makefile with chkuser.

Tonino

Kis Peter ha scritto:
I double-checked again everything.
I did the steps again as written in the Chkuser 2.0 manual editing page.
(Anyway, there is no need to delete or modify any lines which contain "b64decode" routine.)

Doing make, I got the same error. ( undefined reference to `b64encode')
Strange!!!

Then I modified the Makefile, the TARGETS file, the "conf-cc" file,
but left the original "qmail-smtpd.c" intact.

Doing make, I got the same error :(
See below. At least I could find out, that the error couldn't come from
"qmail-smtpd.c", because this file was left intact.



./compile chkuser.c
./load qmail-smtpd chkuser.o dns.o rcpthosts.o commands.o timeoutread.o \
        timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
        received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
        datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
        alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
        `head -1 /home/vpopmail/etc/lib_deps` `cat dns.lib` \
        `cat socket.lib`
qmail-smtpd.o: In function `auth_cram':
qmail-smtpd.c:(.text+0x101a): undefined reference to `b64encode'
qmail-smtpd.c:(.text+0x108e): undefined reference to `b64decode'
qmail-smtpd.o: In function `auth_plain':
qmail-smtpd.c:(.text+0x11f6): undefined reference to `b64decode'
qmail-smtpd.c:(.text+0x1311): undefined reference to `b64decode'
qmail-smtpd.o: In function `auth_login':
qmail-smtpd.c:(.text+0x135d): undefined reference to `b64decode'
qmail-smtpd.c:(.text+0x1396): undefined reference to `b64decode'
qmail-smtpd.o:qmail-smtpd.c:(.text+0x13f8): more undefined references to `b64decode' follow
collect2: ld returned 1 exit status
make: *** [qmail-smtpd] Error 1


Kis Peter
e-mail: [EMAIL PROTECTED] <javascript:void();>





"Tonix (Antonio Nati)" <[EMAIL PROTECTED]> írta:

    Kis Peter ha scritto:
    Thanks.
    I tried this way.
    Fist I applied qmail-smtpd-auth-059 patch,
    then I applied chkuser-2.0.9  manually,as seen at
    
http://www.interazioni.it/opensource/chkuser/documentation/installation/manual.html

    See result below.


    ./compile chkuser.c
    ./load qmail-smtpd chkuser.o dns.o rcpthosts.o commands.o
    timeoutread.o \
            timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
            received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
            datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
            alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
            `head -1 /home/vpopmail/etc/lib_deps` `cat dns.lib` \
            `cat socket.lib`
    qmail-smtpd.o: In function `auth_cram':
    qmail-smtpd.c:(.text+0x101a): undefined reference to `b64encode'
    qmail-smtpd.c:(.text+0x108e): undefined reference to `b64decode'
    qmail-smtpd.o: In function `auth_plain':
    qmail-smtpd.c:(.text+0x11f6): undefined reference to `b64decode'
    qmail-smtpd.c:(.text+0x1311): undefined reference to `b64decode'
    qmail-smtpd.o: In function `auth_login':
    qmail-smtpd.c:(.text+0x135d): undefined reference to `b64decode'
    qmail-smtpd.c:(.text+0x1396): undefined reference to `b64decode'
    qmail-smtpd.o:qmail-smtpd.c:(.text+0x13f8): more undefined
    references to `b64decode' follow
    collect2: ld returned 1 exit status
    make: *** [qmail-smtpd] Error 1

    Kis Peter
    e-mail: [EMAIL PROTECTED] <javascript:void();>

    Probably you deleted some lines, in Makefile, which are important
    for other patches.
    You have only to add what chkuser asks for, keeping what previous
    patches inserted. In this case, you deleted the lines which
    contain "b64decode" routine.

    Ciao,

    Tonino





    "Tonix (Antonio Nati)" <[EMAIL PROTECTED]> írta:

        First apply other patches, then apply chkuser manually.
        See
        
http://www.interazioni.it/opensource/chkuser/documentation/installation/manual.html
        for more info.

        Ciao,

        Tonino

        Kis Peter ha scritto:
        Hello!

        I would like to ask for some help!

        I have succesfully installed chkuser 2.0.9 on a clean
        Netqmail-1.05 without any problem.
        After "make" and "setup", it works fine!


        But if I first  install   "qmail-smtpd-auth-0.59"  patch on
        a clean Netqmail-1.05, then
        I try to install Chkuser 2.0.9, I got lot of error messages.
        Chkuser 2.0 patch installation fails.
        See output below.

        # patch <./chkuser-2.0.9-release.patch
        patching file CHKUSER.automatic_patching
        patching file CHKUSER.changelog
        patching file CHKUSER.copyright
        patching file CHKUSER.log_format
        patching file CHKUSER.manual_patching
        patching file CHKUSER.readme
        patching file CHKUSER.running
        patching file Makefile
        Hunk #2 succeeded at 308 (offset 4 lines).
        Hunk #3 FAILED at 1548.
        1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
        patching file TARGETS
        Hunk #1 succeeded at 386 (offset 1 line).
        patching file chkuser.c
        patching file chkuser.h
        patching file chkuser_settings.h
        patching file conf-cc
        patching file qmail-smtpd.c
        Hunk #2 succeeded at 39 with fuzz 2 (offset 5 lines).
        Hunk #3 FAILED at 259.
        Hunk #4 succeeded at 366 (offset 98 lines).
        Hunk #5 succeeded at 377 (offset 98 lines).
        1 out of 5 hunks FAILED -- saving rejects to file
        qmail-smtpd.c.rej




        I think, that both of these two patches try to patch the
        "qmail-smtpd.c" file, and
        they confuse each other.

        What can be the solution for this problem?


        Kis Peter
        e-mail: [EMAIL PROTECTED] <javascript:void();>




        ________________________________________________________
        Vujity Tvrtko: Angyali történetek... és ami azóta történt. A
        népszerű riporter legszebb, legemberibb történeteinek
        folytatása.
<http://ad.adverticum.net/b/cl,1,6022,295811,361564/click.prm>


-- ------------------------------------------------------------ [EMAIL PROTECTED] Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED] <javascript:void();> ------------------------------------------------------------



    ________________________________________________________
    AEG-ELECTROLUX
    <http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm>
    háztartási gépeket ÉJJEL â013 NAPPAL
    <http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm>
    rendelhetsz kényelmesen ONLINE a MÁRKABOLTBÓL!
    <http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm>
    Beépíthető gépek â013 mosogatógépek â013 mosógépek â013
    szárítógépek - hűtők akár 5 ÉV kiterjesztett GARANCIÁVAL ITT!
    <http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm>
    Több száz VIDEÓ termékbemutató â013 ORSZÁGOS házhozszállítás az
    AEGshop.hu-tól!
<http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm>


-- ------------------------------------------------------------ [EMAIL PROTECTED] Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED] ------------------------------------------------------------



________________________________________________________
AEG-ELECTROLUX <http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm> háztartási gépeket ÉJJEL -- NAPPAL <http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm> rendelhetsz kényelmesen ONLINE a MÁRKABOLTBÓL! <http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm> Beépíthető gépek -- mosogatógépek -- mosógépek -- szárítógépek - hűtők akár 5 ÉV kiterjesztett GARANCIÁVAL ITT! <http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm> Több száz VIDEÓ termékbemutató -- ORSZÁGOS házhozszállítás az AEGshop.hu-tól! <http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm>


--
------------------------------------------------------------
[EMAIL PROTECTED] Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED] ------------------------------------------------------------



!DSPAM:4910345432311316518318!

Reply via email to