Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20
Originally Posted by dylunio Ok we need to link a few things together: Code: su [rootpass] ln -s /usr/src/linux-2.6.0 /usr/src/linux and I think libg++ will be ok...if it isn't we'll ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Aug 2005
    Posts
    11

    Quote Originally Posted by dylunio
    Ok we need to link a few things together:
    Code:
    su
    [rootpass]
    ln -s /usr/src/linux-2.6.0 /usr/src/linux
    and I think libg++ will be ok...if it isn't we'll find out shortly
    i'm afraid it's still not working as expected.i list the /usr/src diretory,finding that the linux is a link of linux-2.6.0 as following:
    lrwxrwxrwx 1 root root 11 8月 19 20:18 linux -> linux-2.6.0
    is it due to missing some libs or independence from upgradtion.

  2. #12
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Ok, lets try making other links, since you have the libraries, just they are not being found.
    Code:
    su
    [rootpass]
    ln -s /usr/src/linux/include/linux /usr/include/linux
    let's see how that goes
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #13
    Just Joined!
    Join Date
    Aug 2005
    Posts
    11
    Quote Originally Posted by dylunio
    Ok, lets try making other links, since you have the libraries, just they are not being found.
    Code:
    su
    [rootpass]
    ln -s /usr/src/linux/include/linux /usr/include/linux
    let's see how that goes
    you're so Great! configure successfully and create a makefile.however,when i make it,error happens as prompts following:
    In file included from /usr/include/bits/errno.h:25,
    from /usr/include/errno.h:36,
    from get-errno.c:25:
    /usr/include/linux/errno.h:4:23: asm/errno.h:No such file directory
    make[3]:*** [et-errno.o] Error 1

    and when i run:locate asm/errno.h,get none.
    should i create a link for some directory?
    thanx in advance

  4. #14
    Just Joined!
    Join Date
    Aug 2005
    Posts
    11
    oh,it's bed time ,i have to go!
    thanx a lot,Good luck!
    wish to solve it

  5. #15
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Well, for when you wake up try it again after making this link:
    Code:
    su
    [rootpass]
    ln -s  /usr/src/linux/include/asm-i386 /usr/src/linux/include/asm
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  6. #16
    Just Joined!
    Join Date
    Aug 2005
    Posts
    11
    Quote Originally Posted by dylunio
    Well, for when you wake up try it again after making this link:
    Code:
    su
    [rootpass]
    ln -s  /usr/src/linux/include/asm-i386 /usr/src/linux/include/asm
    just not working!
    when i locate errno.h,i get the following:
    /usr/lib/bcc/include/arch/errno.h
    /usr/lib/bcc/include/bsd/errno.h
    /usr/lib/bcc/include/errno.h
    /usr/lib/bcc/include/generic/errno.h
    /usr/lib/bcc/include/linux/errno.h
    /usr/lib/bcc/include/sys/errno.h
    /usr/lib/bcc/include/linuxmt/errno.h
    /usr/lib/bcc/include/msdos/errno.h
    /usr/include/bits/errno.h
    /usr/include/errno.h
    /usr/include/sys/errno.h
    /usr/src/linux-2.6.0/include/asm-generic/errno.h
    /usr/src/linux-2.6.0/include/asm-i386/errno.h
    /usr/src/linux-2.6.0/include/linux/errno.h

    i don't know which one is needed.
    and i tried to run:
    ln -s /usr/src/linux-2.6.0/include/asm-i386 /usr/include/linux/asm
    but it seems to not work either.
    btw:when it prompts no asm/errno.h,what's the absolute path?

  7. #17
    Just Joined!
    Join Date
    Aug 2005
    Posts
    11
    oh,i got it!
    i just link the files as you did above:
    ln -s /usr/src/linux-2.6.0/include/asm-i386/ /usr/include/asm
    ln -s /usr/src/linux-2.6.0/include/asm-generic /usr/include/asm-generic
    and now,it's working!
    After all,thanks for your reply!!!

  8. #18
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Grand

    I'm glad you've sorted it out
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  9. #19
    Linux User
    Join Date
    Aug 2005
    Location
    Peterborough, UK
    Posts
    379
    Quote Originally Posted by dylunio
    I'm gland you've sorted it out
    Am I the only one who picked up on that? :P
    \"I am, after all,\" said Pooh, \"a bear of very little brain.\"
    MY PC: Athlon XP64 3000+ on a Asus K8V-X mobo w/1GB of non-descript RAM. AGP - GeForce 2 MX400. PCI - Creative Live! 5.1 soundcard. 140 GB and 120 GB SATA WD drives.

  10. #20
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Quote Originally Posted by Odd_Bloke
    Quote Originally Posted by dylunio
    I'm gland you've sorted it out
    Am I the only one who picked up on that? :P
    damn typo's
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •