svn-1655 make error

Viewing 10 posts - 1 through 10 (of 28 total)
  • Author
    Posts
  • #1698
    MSN_Exploder
    Participant

    i’m running a freebsd 6.2 maschine on an athlonxp 1600+
    just tried to build the new nightly snapshot (svn-1655) but i get this error:

    In file included from webserver.h:25,
    from daapd.h:59,
    from db-generic.c:42:
    io.h:95: error: syntax error before “socklen_t”
    io.h:97: error: syntax error before “socklen_t”
    db-generic.c: In function `db_get_error’:
    db-generic.c:231: warning: implicit declaration of function `vsnprintf’
    *** Error code 1

    same with 1652, but 1586 builds fine on this maschine

    ohh i used this configure line:
    ./configure –enable-sqlite3 –with-id3tag=/usr/local

    Anybody know whats the problem, how i can fix it?

    Greets,
    MSN_Exploder

    #12431
    rpedde
    Participant

    @MSN_Exploder wrote:

    i’m running a freebsd 6.2 maschine on an athlonxp 1600+
    just tried to build the new nightly snapshot (svn-1655) but i get this error:

    In file included from webserver.h:25,
    from daapd.h:59,
    from db-generic.c:42:
    io.h:95: error: syntax error before “socklen_t”
    io.h:97: error: syntax error before “socklen_t”
    db-generic.c: In function `db_get_error’:
    db-generic.c:231: warning: implicit declaration of function `vsnprintf’
    *** Error code 1

    same with 1652, but 1586 builds fine on this maschine

    ohh i used this configure line:
    ./configure –enable-sqlite3 –with-id3tag=/usr/local

    Anybody know whats the problem, how i can fix it?

    Greets,
    MSN_Exploder

    From the rest of the comments, the fact you can’t run 1655 sounds like a feature, not a bug. πŸ™‚ Should be fixed next nightly, but the patch will be here once svn replicates.

    — Ron

    #12432
    MSN_Exploder
    Participant

    Thx, damn fast response, will give it a try shortly.

    @rpedde wrote:

    From the rest of the comments, the fact you can’t run 1655 sounds like a feature, not a bug. πŸ™‚

    Maybe, maybe not πŸ™‚
    But i think its worth a try πŸ˜‰

    But just in case, i will keep a backup fom my old build πŸ˜†

    Greets

    #12433
    MSN_Exploder
    Participant

    Hmm, just tried to make the changes by hand, but no luck.
    Than i tought “Man maybe u just too stupid to do it right”,
    so i checkout the latest svn head.

    Used the same config etc.
    But still got the same error πŸ˜₯

    Whats going wrong there?

    Greets,
    MSN_Exploder

    #12434
    rpedde
    Participant

    @MSN_Exploder wrote:

    Hmm, just tried to make the changes by hand, but no luck.
    Than i tought “Man maybe u just too stupid to do it right”,
    so i checkout the latest svn head.

    Used the same config etc.
    But still got the same error πŸ˜₯

    Whats going wrong there?

    Greets,
    MSN_Exploder

    That’s the only thing I see. I’m just not sure where socklen_t is defined on freebsd.

    I’ll work a bit harder to see where that gets defined and see if I can get a more proper patch.

    — Ron

    #12435
    MSN_Exploder
    Participant

    @rpedde wrote:

    That’s the only thing I see. I’m just not sure where socklen_t is defined on freebsd.

    I’ll work a bit harder to see where that gets defined and see if I can get a more proper patch.

    — Ron

    Great, thx
    If i can help u in any way, just ask ^^

    Greets,
    MSN_Exploder

    #12436
    rpedde
    Participant

    @MSN_Exploder wrote:

    @rpedde wrote:

    That’s the only thing I see. I’m just not sure where socklen_t is defined on freebsd.

    I’ll work a bit harder to see where that gets defined and see if I can get a more proper patch.

    — Ron

    Great, thx
    If i can help u in any way, just ask ^^

    Greets,
    MSN_Exploder

    Looks like it’s in sys/socket.h.

    Should be fixed in tonight’s nightly, which is baking now.

    — Ron

    #12437
    MSN_Exploder
    Participant

    hmm, now i get this error:

    In file included from webserver.h:25,
    from conf.h:60,
    from ff-plugins.c:11:
    io.h:73: error: syntax error before “uint64_t”
    io.h:74: error: syntax error before “uint64_t”
    io.h:75: error: syntax error before “uint64_t”
    In file included from conf.h:60,
    from ff-plugins.c:11:
    webserver.h:138: error: syntax error before “uint64_t”
    *** Error code 1

    #12438
    rpedde
    Participant

    @MSN_Exploder wrote:

    hmm, now i get this error:

    In file included from webserver.h:25,
    from conf.h:60,
    from ff-plugins.c:11:
    io.h:73: error: syntax error before “uint64_t”
    io.h:74: error: syntax error before “uint64_t”
    io.h:75: error: syntax error before “uint64_t”
    In file included from conf.h:60,
    from ff-plugins.c:11:
    webserver.h:138: error: syntax error before “uint64_t”
    *** Error code 1

    Ha!

    Gack. Gotta love the circular dependencies.

    Try adding #include at the top of io.h, just after the include guards.

    — Ron

    #12439
    MSN_Exploder
    Participant

    @rpedde wrote:

    Try adding #include at the top of io.h, just after the include guards.

    Looks like this did the trick, at least building didn’t break with an error.
    Cant tell if its workin, will try this later, have to go.

    Thx

Viewing 10 posts - 1 through 10 (of 28 total)
  • The forum ‘Nightlies Feedback’ is closed to new topics and replies.