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. set mysql variable using command
    By svar in forum Windows - General Topics
    Replies: 0
    Last Post: 01-02-2009, 05:53 PM
  2. setting PATH environment variable
    By omidkamangar in forum Linux - General Topics
    Replies: 2
    Last Post: 04-20-2007, 11:10 PM
  3. Pass a variable for one script to another in python
    By AljoshaNL in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 02-24-2006, 01:12 PM
  4. Add to Evniron Variable?
    By WarLockLord in forum Linux - Software, Applications & Programming
    Replies: 9
    Last Post: 07-14-2002, 09:28 AM
  5. c++ variable scope
    By t048 in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 05-31-2002, 02:43 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
  •