Error interpretation / Pop3Client

Dié d.cavadini at freesurf.ch
Wed Mar 28 08:21:05 PDT 2007


Frits van Bommel Wrote:


> Are you sure you compiled and linked the tango.net.pop3.Pop3Client module?
> (A note for others who couldn't find that module: the Pop3Client module 
> seems to only be available under trunk/patches/proposals in the SVN 
> repository)
> 
> If the above doesn't help:
> What version of Tango are you using and what version of DMD?
> AFAIK Tango hasn't yet been updated for DMD v1.010. I'm not sure if it 
> needs to be, but I haven't tried it either.

"Are you sure you compiled and linked the tango.net.pop3.Pop3Client module?"

In my test-program i have "import tango.net.pop3.Pop3Client;" and in Pop3Client ther is the POP3Connection class (this class extends Telnet)



List step-by-step of my installation (Windows):

1)dmc.zip & dmd.zip ==extract==> result:C:\dm
                                                             C:\dmd

  Version: Digital Mars D Compiler v1.010

  (source: http://www.prowiki.org/wiki4d/wiki.cgi?EvaluationGuide#Installation)

2)C:\dmd\bin & C:\dm\bin added to path.


=====>Now the D compiler work with Phobos
      then...

3)Now for the installation of Tango i've tried 2 way:

   3.1) The "Automated Windows Installer"
        
        Just download the installer and launch.
        With this way the installation create a tango's folder in C:\dmd\
        Now in "MyPrograms" ther is Tango with "Switch to Tango" and "Switch to Phobos" tools.

   3.2) The "Step By Step" (I've tried this way finally)
        
        Download the zip archive from http://www.dsource.org/projects/tango/browser/trunk
        and extract into C:\dmd\import\tango
        result: C:\dmd\import\tango\doc
                                   \example
                                   \install
                                   \lib
                                   \patches\proposal (here we fond the Pop3Client.d)
                                   \std
                                   \tango
        
        
        then i copy this in sc.ini:

        [Environment]
        ; LIB="%@P%\..\lib";\dm\lib
        LIB="%@P%\..\import\tango\lib;%@P%\..\lib;%@P%\..\..\dm\lib"
        ; DFLAGS="-I%@P%\..\src\phobos"
        DFLAGS="-I%@P%\..\import\tango" -version=Tango
        LINKCMD=%@P%\..\..\dm\bin\link.exe

        for using Tango

        i run build-dmd.bat 

        when i run build-dmd.bat i have some errors!!!:
        it not found C:\dmd\import\tango\lib\compiler\dmd\aaA.obj
                     C:\dmd\import\tango\lib\compiler\dmd\util\console.obj
                     C:\dmd\import\tango\lib\compiler\dmd\typeinfo\ti_AC.obj
                     C:\dmd\import\tango\lib\common\tango\core\Exception.obj
                     ...and some other
        
        i run generate-usergdi32.bat

        

Now i've placed C:\dmd\import\tango\doc\patches\proposal\Pop3Client.d (and Exception.d)
in C:\dmd\import\tango\tango\net\pop3.

Is correct if i think thet the cause of my problems is the not-corretly work ok build-dmd.bat?

I don't know what to do with this "Error 42: Symbol Undefined _D5tango3net4pop310Pop3Client14POP3Connection7__ClassZ"

Dié






More information about the Digitalmars-d mailing list