NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD and old nvidia laptop card / crash and unusable X11



Hi,

Riccardo Mottola wrote:

I can do that very easily on the 9.3 kernel sources which I have installed and the patch by Robert... because I have those sources already setup up and ready ro rebuild. I don't have the current kernel stuff here though.

answering to my self after private with Robert: current needs to be build. I got the sources, upgraded to current. I have of course full 9.3 userland. Is a build possible at all without a switch?

I configured the kernel, added the options you suggested and it dies with:

In file included from ../../../../netipsec/ipsec.c:103:0:
../../../../netipsec/ipsec.c: In function 'ipsec_checkpcbcache':
../../../../netipsec/key_debug.h:64:8: error: expected ')' before '__VA_OPT__'
        __VA_OPT__(,) __VA_ARGS__);  \
        ^
../../../../netipsec/ipsec.c:253:2: note: in expansion of macro 'KEYDEBUG_PRINTF'
  KEYDEBUG_PRINTF(KEYDEBUG_IPSEC_STAMP,
  ^~~~~~~~~~~~~~~
../../../../netipsec/key_debug.h:63:19: error: format '%d' expects a matching 'int' argument [-Werror=format=]
    log(LOG_DEBUG, "%s: " fmt, __func__ \
                   ^
../../../../netipsec/ipsec.c:253:2: note: in expansion of macro 'KEYDEBUG_PRINTF'
  KEYDEBUG_PRINTF(KEYDEBUG_IPSEC_STAMP,

<..cut..>

do I need to build full tools first? O did I get a bad release? Soon I need to move this discussion to "netbsd-current"... darn.

Riccardo


Home | Main Index | Thread Index | Old Index