Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Undo Link target

  • 12-06-2006 9:21pm
    #1
    Registered Users, Registered Users 2 Posts: 234 ✭✭


    guys i did i link target in fedora 5

    ln -s /lib/modules/2.6.15-1.2054_FC5smp/build /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686/

    how can i undo this?/???

    please say there is a easy way

    im tring to install ieee80211 files for my wifi card and this i swhat i'm getting after i run make

    make
    /bin/sh: cc: command not found
    Checking in /lib/modules/2.6.15-1.2054_FC5smp for ieee80211 components...
    find: Symbolic link `/lib/modules/2.6.15-1.2054_FC5smp/source/build' is part of a loop in the directory hierarchy; we have already visited the directory to which it points.
    find: Symbolic link `/lib/modules/2.6.15-1.2054_FC5smp/build/build' is part of a loop in the directory hierarchy; we have already visited the directory to which it points.
    find: Symbolic link `/lib/modules/2.6.15-1.2054_FC5smp/build/build' is part of a loop in the directory hierarchy; we have already visited the directory to which it points.
    make -C /lib/modules/2.6.15-1.2054_FC5smp/build M=/tmp/nic/ieee80211-1.1.14 modules
    /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686/scripts/gcc-version.sh: line 11: gcc: command not found
    /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686/scripts/gcc-version.sh: line 12: gcc: command not found
    make[1]: gcc: Command not found
    make[1]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-smp-i686'
    CC [M] /tmp/nic/ieee80211-1.1.14/ieee80211_module.o
    /bin/sh: gcc: command not found
    make[2]: *** [/tmp/nic/ieee80211-1.1.14/ieee80211_module.o] Error 127
    make[1]: *** [_module_/tmp/nic/ieee80211-1.1.14] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-smp-i686'
    make: *** [modules] Error 2


Comments

  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    You need to rm /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686/build

    What is /lib/modules/2.6.15-1.2054_FC5smp/build currently pointing to?
    let us know what ls -l says.

    You have another problem though. You seem not to have a C compiler installed.
    Try installing gcc using your distribution's package manager.

    Good luck,
    NiallB


  • Registered Users, Registered Users 2 Posts: 234 ✭✭shanemort


    niallb wrote:
    You need to rm /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686/build

    What is /lib/modules/2.6.15-1.2054_FC5smp/build currently pointing to?
    let us know what ls -l says.

    You have another problem though. You seem not to have a C compiler installed.
    Try installing gcc using your distribution's package manager.

    Good luck,
    NiallB

    Cool i rebuilt cause i got annoyed

    from those errors what do i need ot install gcc and kernel devel smp and anything else?


  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    You'll need a few other packages, like binutils,
    but your package manager should take care of those.

    I guess you're running Fedora Core 5 from the name of the kernel,
    but it's not a guarantee.

    Anyone use fedora enough to translate apt-get install gcc simply?
    If you have yum installed, it might be what you need, or up2date if that's still around.

    Good luck again,
    NiallB


  • Registered Users, Registered Users 2 Posts: 234 ✭✭shanemort


    ok next problem installing gcc got me a hell of a lot further than before but now we have another problem

    [root@localhost ipw3945-1.0.5]# make
    make -C /lib/modules/2.6.15-1.2054_FC5smp/build M=/tmp/nic/ipw3945-1.0.5 modulesmake[1]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-smp-i686'
    CC [M] /tmp/nic/ipw3945-1.0.5/ipw3945.o
    In file included from /tmp/nic/ipw3945-1.0.5/ipw3945.c:68:
    /tmp/nic/ipw3945-1.0.5/ipw3945.h:70:1: warning: "mutex_init" redefined
    In file included from include/linux/fs.h:220,
    from include/linux/mm.h:16,
    from include/linux/skbuff.h:26,
    from include/linux/if_ether.h:110,
    from /lib/modules/2.6.15-1.2054_FC5smp/include/net/ieee80211.h:28,
    from /tmp/nic/ipw3945-1.0.5/ipw3945.c:64:
    include/linux/mutex.h:77:1: warning: this is the location of the previous definition
    /tmp/nic/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_send_associate’:
    /tmp/nic/ipw3945-1.0.5/ipw3945.c:4292: error: too few arguments to function ‘ieee80211_tx_frame’
    /tmp/nic/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_bg_daemon_cmd’:
    /tmp/nic/ipw3945-1.0.5/ipw3945.c:4765: error: too few arguments to function ‘ieee80211_tx_frame’
    /tmp/nic/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_auth_work’:
    /tmp/nic/ipw3945-1.0.5/ipw3945.c:9381: error: too few arguments to function ‘ieee80211_tx_frame’
    /tmp/nic/ipw3945-1.0.5/ipw3945.c:9426: error: too few arguments to function ‘ieee80211_tx_frame’
    /tmp/nic/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_handle_probe_request’:
    /tmp/nic/ipw3945-1.0.5/ipw3945.c:9496: error: too few arguments to function ‘ieee80211_tx_frame’
    make[2]: *** [/tmp/nic/ipw3945-1.0.5/ipw3945.o] Error 1
    make[1]: *** [_module_/tmp/nic/ipw3945-1.0.5] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-smp-i686'
    make: *** [modules] Error 2


    Anyideas anyone please help i belive that boards.ie can finish this install:eek:


  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    You're in the realm of the very specific now.

    Are the versions of the software you're trying to build definitely
    compatible with your kernel version?

    Could you try to update your kernel to a 2.6.16 version first?

    This page seems
    to have everything you would need already compiled against a
    more recent kernel.

    The matching kernel is available at [url="http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/kernel-smp-2.6.16-1.2122_FC5.i686.rpm
    "]http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/kernel-smp-2.6.16-1.2122_FC5.i686.rpm
    [/url]
    and the devel files at
    http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/kernel-smp-devel-2.6.16-1.2122_FC5.i686.rpm

    That should get it working anyway, though it doesn't solve your compile problem.

    Good luck,
    NiallB


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    Any progress?

    NiallB


Advertisement