#1 OpenBSD compile problem

open
nobody
None
5
2000-11-14
2000-11-14
Anonymous
No

Discussion

  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.74 [en] (X11; U; SunOS 5.6 sun4u; Nav)

    Has anyone had problems compiling 1.8.1 under OpenBSD
    2.7? Here's the error I'm getting:

    gcc -Wall -Wwrite-strings -g -O -c numbers.c
    numbers.c:188: warning: `struct exception' declared
    inside parameter list
    numbers.c:188: warning: its scope is only this
    definition or declaration, which is probably not what
    you want.
    numbers.c: In function `matherr':
    numbers.c:190: dereferencing pointer to incomplete type
    numbers.c:196: dereferencing pointer to incomplete type
    numbers.c:199: dereferencing pointer to incomplete type
    numbers.c:193: warning: unreachable code at beginning
    of switch statement
    *** Error code 1

    Thanks for any suggestions.

    -Gary

     
  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.74 [en] (X11; U; SunOS 5.6 sun4u; Nav)

    I forgot to list my options.h in case it helps:

    #ifndef Options_h
    #define Options_h 1
    #define LOG_COMMANDS */
    #define OUT_OF_BAND_PREFIX "#$#"
    #define DEFAULT_MAX_STACK_DEPTH 50
    #define DEFAULT_FG_TICKS 30000
    #define DEFAULT_BG_TICKS 15000
    #define DEFAULT_FG_SECONDS 5
    #define DEFAULT_BG_SECONDS 3
    #define NETWORK_PROTOCOL NP_TCP
    #define DEFAULT_PORT 8888
    #define DEFAULT_CONNECT_FILE "/tmp/.MOO-server"
    #define NETWORK_STYLE NS_BSD
    #define MAX_QUEUED_OUTPUT 65536
    #define MAX_QUEUED_INPUT MAX_QUEUED_OUTPUT
    #define DEFAULT_CONNECT_TIMEOUT 300
    #define PATTERN_CACHE_SIZE 20
    #define IGNORE_PROP_PROTECTED

     
  • Nobody/Anonymous

    Logged In: NO

    This is more a wanted feature, but could there be a way
    to "foce" an IP?? Noone can seem to see the MOO im
    running...:p

    Thx,
    Gerdion Cain

     

Log in to post a comment.