BSD

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • make breakage in /usr/src

    7 answers - 2319 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I just updated via cvs(sudo cvs -q -d $CVSRT up -r PENBSD_3_7),
    did a 'cd /ports/src;sudo make' and got the following error:
    cc -pipe -I/usr/src/sbin/wsconsctl -I. -c keysym.c
    keysym.c:45:20: keysym.h: No such file or directory
    keysym.c:51: error: `ksym_tab_by_name' undeclared here (not in a function)
    keysym.c:51: error: `ksym_tab_by_name' undeclared here (not in a function)
    keysym.c: In function `qcmp_name':
    keysym.c:101: error: dereferencing pointer to incomplete type
    keysym.c:101: error: dereferencing pointer to incomplete type
    keysym.c: In function `qcmp_ksym':
    keysym.c:107: error: dereferencing pointer to incomplete type
    keysym.c:107: error: dereferencing pointer to incomplete type
    keysym.c: In function `bcmp_name':
    keysym.c:113: error: dereferencing pointer to incomplete type
    keysym.c: In function `bcmp_ksym':
    keysym.c:119: error: dereferencing pointer to incomplete type
    keysym.c: In function `sort_ksym_tab':
    keysym.c:127: error: `ksym_tab_by_name' undeclared (first use in this function)
    keysym.c:127: error: (Each undeclared identifier is reported only once
    keysym.c:127: error: for each function it appears in.)
    keysym.c:128: error: invalid use of undefined type `struct ksym'
    keysym.c:130: error: invalid application of `sizeof' to an incomplete type
    keysym.c:131: error: invalid application of `sizeof' to an incomplete type
    keysym.c: In function `ksym2name':
    keysym.c:146: error: `ksym_tab_by_name' undeclared (first use in this function)
    keysym.c:146: error: invalid application of `sizeof' to an incomplete type
    keysym.c:149: error: dereferencing pointer to incomplete type
    keysym.c: In function `name2ksym':
    keysym.c:165: error: `ksym_tab_by_name' undeclared (first use in this function)
    keysym.c:166: error: invalid application of `sizeof' to an incomplete type
    keysym.c:169: error: dereferencing pointer to incomplete type
    keysym.c: At top level:
    keysym.c:51: error: storage size of `ksym_tab_by_ksym' isn't known
    Error code 1
    Stop in /usr/src/sbin/wsconsctl.
    Error code 1
    Stop in /usr/src/sbin.
    Error code 1
    Stop in /usr/src.
    /usr/src}
  • No.1 | | 466 bytes | |

    Wednesday 17 August 2005 11:06 am, Dave Feustel wrote:
    I just updated via cvs(sudo cvs -q -d $CVSRT up -r PENBSD_3_7),
    did a 'cd /ports/src;sudo make' and got the following error:
    [snip]

    Ummm you mean cd /usr/src; sudo make build right?

    Anyway, your tree is borked I get no errors in /usr/src/sbin/wsconsctl after
    running a cvs update. I would start by dumping your cvs tree and cvs get it
    again.

    Tim Donahue
  • No.2 | | 1220 bytes | |

    Wednesday 17 August 2005 10:43, Timothy Donahue wrote:
    Wednesday 17 August 2005 11:06 am, Dave Feustel wrote:
    I just updated via cvs(sudo cvs -q -d $CVSRT up -r PENBSD_3_7),
    did a 'cd /ports/src;sudo make' and got the following error:
    [snip]

    Ummm you mean cd /usr/src; sudo make build right?

    Sorry about that. Here are my cvs update functions:

    /home/daf}functions
    update_ports() {
    cd /usr/ports
    sudo cvs -q -d $CVSRT up -r PENBSD_3_7
    }
    update_src() {
    cd /usr/src
    sudo cvs -q -d $CVSRT up -r PENBSD_3_7
    }

    CVSRT=anoncvs (AT) anoncvs2 (DOT) usa.openbsd.org:/cvs
    (

    Anyway, your tree is borked

    I created /usr/ports and /usr/src by copying them from the 3.7 cdrom.
    I then updated those trees using the above ksh functions.

    For the moment I want to just update the release distribution
    and rebuild /usr/ports/x11/kde and /usr/src/sys.

    Should I forget the cdrom and just copy the whole /usr/ports and
    /usr/src from the repository?

    I get no errors in /usr/src/sbin/wsconsctl after
    running a cvs update. I would start by dumping your cvs tree and cvs get it
    again.

    Tim Donahue
  • No.3 | | 790 bytes | |

    Wed, 17 Aug 2005 11:43:42 -0400
    Timothy Donahue <tdonahue (AT) haynes-group (DOT) comwrote:

    Wednesday 17 August 2005 11:06 am, Dave Feustel wrote:
    I just updated via cvs(sudo cvs -q -d $CVSRT up -r PENBSD_3_7),
    >did a 'cd /ports/src;sudo make' and got the following error:

    [snip]

    Ummm you mean cd /usr/src; sudo make build right?
    Have you done an make obj?

    Anyway, your tree is borked I get no errors in /usr/src/sbin/wsconsctl after
    running a cvs update. I would start by dumping your cvs tree and cvs get it
    again.
    Same here, so re-fetch the tree and you should be out of probs.

    Tim Donahue

    Jasper

    --
    "Security is decided by quality" -- Theo de Raadt
  • No.4 | | 1464 bytes | |

    Wednesday 17 August 2005 11:59 am, Dave Feustel wrote:
    Sorry about that. Here are my cvs update functions:

    /home/daf}functions
    update_ports() {
    cd /usr/ports
    sudo cvs -q -d $CVSRT up -r PENBSD_3_7
    }
    update_src() {
    cd /usr/src
    sudo cvs -q -d $CVSRT up -r PENBSD_3_7
    }

    CVSRT=anoncvs (AT) anoncvs2 (DOT) usa.openbsd.org:/cvs
    (

    I generally don't script sudo, so I can't comment on the syntax, but I do
    believe that you want to move the CVSRT definition to the front of your
    script (before its first reference).

    Anyway, your tree is borked

    I created /usr/ports and /usr/src by copying them from the 3.7 cdrom.
    I then updated those trees using the above ksh functions.

    For the moment I want to just update the release distribution
    and rebuild /usr/ports/x11/kde and /usr/src/sys.

    Should I forget the cdrom and just copy the whole /usr/ports and
    /usr/src from the repository?

    Yes, I personally have had trouble similar to what you are experiencing when
    changing mirrors after extracting the source on the CD. I'm sure it is
    something in the syntax I used, but I never figured out what the problem was.

    # rm -rf /usr/src/*
    # rm -rf /usr/obj/*
    # cd /usr/
    # cvs -q -d anoncvs (AT) anoncvs2 (DOT) usa.openbsd.org:/cvs get -PA PENBSD_3_7 src

    That will get you a clean checkout of the 3.7-stable tree.

    Tim Donahue
  • No.5 | | 279 bytes | |

    Wed, 17 Aug 2005, Dave Feustel wrote:
    I just updated via cvs(sudo cvs -q -d $CVSRT up -r PENBSD_3_7),
    did a 'cd /ports/src;sudo make' and got the following error:
    1. wrong list
    2. you did not cd /ports/src
    3. that's not how to start a build
  • No.6 | | 84 bytes | |

    Ted Unangst wrote:
    1. wrong list
    Just curious What's the right list?
  • No.7 | | 129 bytes | |

    Ted Unangst wrote:
    1. wrong list
    Just curious What's the right list?
    misc@ should be appropriate

Re: make breakage in /usr/src


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "BSD"

EMSDN.COM