Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Feb 2007 09:31 AM by  legros
problem with cygwin1.dll
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
muller_idt
New Member
New Member
Posts:


--
14 Sep 2006 08:12 AM
    hi,

    i've got a new problem. When i use cyggwin to compile my program, at the end of the compilation, i've got this message (translate in english) :

    "the enter point of procedure _impute_ptr unobtainable in the cygwin1.dll"

    in french : "le point d'entrée de procedure _impute_ptr est introuvable dans le bibliothéque de liaisons dynamique cygwin1.dll"

    Since that i'va this messages, i copied cygwin1.dll in the same directory of my program, in the same directory of m68k-elf-gcc.exe, and /bin directory. So always the same message.

    Please, what can i do to resolve this boring problem.

    best regards.
    Anonymous
    Posts:


    --
    14 Sep 2006 08:37 AM
    Hello,

    Many of these quesitons are usually answered in the FAQ section. Here is one that deals with the issues you are seeing.

    http://www.logicpd.com/su...q/faq.php?faq_id=145

    Thanks,
    muller_idt
    New Member
    New Member
    Posts:


    --
    15 Sep 2006 07:54 AM
    Thank you for help.

    but , now, i've got a new probleme.

    when i compil the sample application (led_flasher), i've got several error messages.

    -----------------------------------------------------------------
    Sample Application Build Tool
    -----------------------------------------------------------------

    Select module:
    module? 5
    location? 2

    Select program location:
    make[1]: entrant dans le r'epertoire << /home/logic/sample_app/test/led_flasher >>
    make clean
    make[2]: entrant dans le r'epertoire << /home/logic/sample_app/test/led_flasher >>
    rm *.o arch/*/*.o api.lds
    make[2]: quittant le r'epertoire << /home/logic/sample_app/test/led_flasher >>
    make led_flasher
    make[2]: entrant dans le r'epertoire << /home/logic/sample_app/test/led_flasher >>
    m68k-elf-gcc -c -m5307 -malign-int -mnoshort -mstrict-align -fno-builtin -m5307 -malign-int -mnoshort -mstrict-align -fno-builtin -O0 -Wall -g -ggdb -DBASE_ADDRESS=0x40000000+0x00100000 -DMEMAP_BASE_SDRAM=0x40000000 -DBOOTFLASH_PHYS_BASE=0x00000000 -DLOGIC_CARDENGINE_MCF5329_10 -DCONFIG_IN_FLASH=0 -fno-builtin led_flasher.c -o led_flasher.o
    make[2]: *** [led_flasher.o] erreur 128
    make[2]: quittant le r'epertoire << /home/logic/sample_app/test/led_flasher >>
    make[1]: *** [all] erreur 2
    make[1]: quittant le r'epertoire << /home/logic/sample_app/test/led_flasher >>
    make : *** [menu] erreur 2


    What must i do to resolve it?

    regards.
    Anonymous
    Posts:


    --
    15 Sep 2006 09:20 AM
    Well one problem is that those error messages aren't in English so I'm not sure what version of Cygwin that you're using. However my
    recommendation for getting things to build properly is as follows.

    1) Download Cygwin:
    http://www.logicpd.com/downloads/237/Cygwin.zip

    2) Download GNU Tools:
    http://www.logicpd.com/do...gnutools_install.exe

    3) Download the sample application:
    http://www.logicpd.com/do...ication_2_1_0%20.zip

    4) Install Cygwin from the downloaded file

    5) Go to http://www.cygwin.com and update to the latest releases

    6) Install GNU Tools

    7) Install the sample application.
    richh@logicpd.com
    New Member
    New Member
    Posts:52


    --
    15 Feb 2007 09:04 AM
    It works fine for me here:

    richh@LPD300 /home/logic/sample_app/2.10/led_flasher
    $ make
    bash build.sh

    -----------------------------------------------------------------
    Sample Application Build Tool
    -----------------------------------------------------------------

    Select module:
    1) MCF5474_10 5) MCF5329_10 9) LLH79524_10 13) PXA270_10
    2) MCF5484_10 6) LLH7a400_10 10) LSH7727_20
    3) MCF5475_10 7) LLH7a404_11 11) LSH7750_10
    4) MCF5485_10 8) LLH79520_10 12) LSH7760_10
    module? 5

    Select program location:
    1) flash
    2) ram
    location? 2
    make[1]: Entering directory `/home/logic/sample_app/2.10/led_flasher'
    make clean
    make[2]: Entering directory `/home/logic/sample_app/2.10/led_flasher'
    rm *.o arch/*/*.o api.lds
    make[2]: Leaving directory `/home/logic/sample_app/2.10/led_flasher'
    make led_flasher
    make[2]: Entering directory `/home/logic/sample_app/2.10/led_flasher'
    m68k-elf-gcc -c -m5307 -malign-int -mnoshort -mstrict-align -fno-builtin -m5307
    -malign-int -mnoshort -mstrict-align -fno-builtin -O0 -Wall -g -ggdb -DBASE_ADD
    RESS=0x40000000+0x00100000 -DMEMAP_BASE_SDRAM=0x40000000 -DBOOTFLASH_PHYS_BASE=0
    x00000000 -DLOGIC_CARDENGINE_MCF5329_10 -DCONFIG_IN_FLASH=0 -fno-builtin led_fl
    asher.c -o led_flasher.o
    m68k-elf-gcc -m5307 -m5307 -D_ASM_ -DBASE_ADDRESS=0x40000000+0x00100000 -DMEMAP
    _BASE_SDRAM=0x40000000 -DBOOTFLASH_PHYS_BASE=0x00000000 -DLOGIC_CARDENGINE_MCF53
    29_10 -DCONFIG_IN_FLASH=0 -c -o arch/m68k/apicrt0.o arch/m68k/apicrt0.S
    m68k-elf-gcc -c -m5307 -malign-int -mnoshort -mstrict-align -fno-builtin -m5307
    -malign-int -mnoshort -mstrict-align -fno-builtin -O0 -Wall -g -ggdb -DBASE_ADD
    RESS=0x40000000+0x00100000 -DMEMAP_BASE_SDRAM=0x40000000 -DBOOTFLASH_PHYS_BASE=0
    x00000000 -DLOGIC_CARDENGINE_MCF5329_10 -DCONFIG_IN_FLASH=0 -fno-builtin arch/m
    68k/arch_led_flasher.c -o arch/m68k/arch_led_flasher.o
    m68k-elf-cpp -P -D_ASM_ -DBASE_ADDRESS=0x40000000+0x00100000 -DMEMAP_BASE_SDRAM=
    0x40000000 -DBOOTFLASH_PHYS_BASE=0x00000000 -DLOGIC_CARDENGINE_MCF5329_10 -DCONF
    IG_IN_FLASH=0 api.lds.S > api.lds
    m68k-elf-gcc -m5307 -malign-int -mnoshort -mstrict-align -fno-builtin -m5307 -ma
    lign-int -mnoshort -mstrict-align -fno-builtin -O0 -Wall -g -ggdb -DBASE_ADDRES
    S=0x40000000+0x00100000 -DMEMAP_BASE_SDRAM=0x40000000 -DBOOTFLASH_PHYS_BASE=0x00
    000000 -DLOGIC_CARDENGINE_MCF5329_10 -DCONFIG_IN_FLASH=0 -fno-builtin -nostdlib
    -N -o led_flasher.elf -T api.lds led_flasher.o arch/m68k/apicrt0.o arch/m68k/arc
    h_led_flasher.o -lgcc
    cp led_flasher.elf led_flasher.elf.debug
    m68k-elf-strip led_flasher.elf
    m68k-elf-objcopy -O binary led_flasher.elf led_flasher.raw
    make[2]: Leaving directory `/home/logic/sample_app/2.10/led_flasher'
    make[1]: Leaving directory `/home/logic/sample_app/2.10/led_flasher'

    richh@LPD300 /home/logic/sample_app/2.10/led_flasher
    $


    Which version of GCC are you using?


    richh@LPD300 /home/logic/sample_app/2.10/led_flasher
    $ m68k-elf-gcc --version
    m68k-elf-gcc (GCC) 3.4.3
    Copyright (C) 2004 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


    richh@LPD300 /home/logic/sample_app/2.10/led_flasher
    $
    legros
    New Member
    New Member
    Posts:


    --
    15 Feb 2007 09:31 AM
    Dear Rich,

    My problem appears after the step
    "5) Go to http://www.cygwin.com and update to the latest releases"
    and before the step
    "6) Install GNU Tools"
    Then I haven't yet installed the GCC.

    In order to control that the cygwin update haven't disturbed the first installation, I run cygwin with a "double clic" on the cygwin icon. At the opening of the cygwin shell window, the error messages I sent to you are displayed.


    When you went to http://www.cygwin.com in order to update cygwin, have you change any value from the proposed ones ?

    Best regards

    Philippe
    You are not authorized to post a reply.