Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

Linux Kernel Configuration failes

I installed the V1.1 and still not be able to launch the configuration window after creating a new project based on Linux kernel. The BASH window appear and disappear. I have been able to get a screen shot to see the error message. Unfortunately I cannot attached it. Where can I post the screen shot ?

I am using Window XP. I saw topics related to window Patches. Is it also due for XP ?

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Maga, I suspect that I am experiencing the same problem. I too had a window appear & disappear almost immediately!

    I ran the same code from the command prompt so that I could capture the output error. Here is what it reads:

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    ------------------------------------------------

    Microtronix Linux Extensions

    Version 1.1, Built Wed Jul 7 12:46pm EST 2004

    ------------------------------------------------

    make: Entering directory `/cygdrive/c/Altera/kits/nios2/bin/eclipse/plugins/com.

    microtronix.nios2linux.kernel_0.1.5/linux-2.6.x&#39;

    HOSTCC scripts/basic/fixdep

    /usr/local/bin/ld: cannot open crt0.o: No such file or directory

    collect2: ld returned 1 exit status

    make[2]: *** [scripts/basic/fixdep] Error 1

    make[1]: *** [scripts_basic] Error 2

    make: *** [menuconfig] Error 2

    make: Leaving directory `/cygdrive/c/Altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x&#39;[/b]

    --- Quote End ---

    Can you confirm if this error is the same as yours?

    Anyone know why I am getting this error?

    Here is the command that gets launched:

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    C:\Altera\quartus41\bin>C:/Altera/quartus41/bin/cygwin/bin/bash.exe -c "source $QUARTUS_ROOTDIR/sopc_builder/bin/nios_sh; source $SOPC_KIT_NIOS2/user.bashrc; KERNEL_PROJECT=c:/altera/kits/nios2/bin/eclipse/workspace/kernel_1c20; make -C `cygpath -u C:/Altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x` O=`cygpath -u c:/altera/kits/nios2/bin/eclipse/workspace/kernel_1c20/build` menuconfig; "[/b]

    --- Quote End ---

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    I applied the "Window NT" patch to my Window XP system, although I&#39;m not sure if the patch could work with XPs.

    The configuration worked fine, and the entire installation process succeeded.

    Version: Windows XP Professional (Build 2600) SP 1

    sekiyama

    Hitachi High-Technologies Corp., Japan
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    sekiyama, thanks for the tip!!! I&#39;ve got it working!

    FYI, I applied the NT patch to my Win2K system and voila, it works.

    Thanks again,

    tjd
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    aksanche,

    The instructions to apply the patch are found where you downloaded the patch. I have included them here:

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    Extract file &#39;userdirs.tar.Z&#39; and save in /usr [generally: c:\quartus\bin\cygwin\usr]

    Unmount /usr/lib [command from NiosII SDK Shell: &#39;umount /usr/lib&#39;]

    Un-tar &#39;userdirs.tar.Z&#39; [command from NiosII SDK Shell, issued from /usr: &#39;tar -xzf userdirs.tar.Z]

    Extract &#39;microtronix.bashrc&#39; and rename as &#39;user.bashrc&#39; in c:\altera\kits\nios2 [or append to existing &#39;user.bashrc&#39; with command &#39;cat microtronix.bashrc >> user.bashrc&#39;][/b]

    --- Quote End ---