Results 1 to 3 of 3

Thread: errno variable problem

  1. #1

    errno variable problem

    just lately ive been installing apps from source :wink: but then again Ive always encounter this problem ... unkown errno variable!

    and i found out that any source using " #include error.h" is always the victim, so what i did is I would explicitly include this "#include <errno.h> " on top of the error.h and things will work ok :idea:

    now my question is ... is there other ways to do this without the hassle of typing those keywords above :?:
    Registered Linux User # 279330

  2. #2
    Associate
    Join Date
    Sep 2004
    Posts
    40

    errno variable problem

    Bad programming style I suppose
    If you are bored to do it everytime by hand, you could write a script that would do that for you.
    I would preffer python for that, but perl or a combo of grep/awk/sed would do the trick too.

  3. #3
    Associate
    Join Date
    Feb 2005
    Posts
    22

    Re: errno variable problem

    open your Makefile, edit your INCLUDE path (make sure they are pointing to the right directories of your distro), save, compile... hth

Similar Threads

  1. Problem with POSIX semaphores
    By wej@wejc.com in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 12-15-2007, 12:46 AM
  2. HELP PLEASE! Long file names problem
    By paulmarcw in forum Windows - General Topics
    Replies: 1
    Last Post: 02-24-2006, 04:12 AM
  3. problem with windows linux network
    By grooverider in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 01-29-2005, 12:36 AM
  4. Device Manager Error Codes
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 12:52 AM
  5. Problem with D-Link DFE-580tx
    By Lysander in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-15-2004, 08:25 AM

Bookmarks

Posting Permissions

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