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

 

     Re: [nocol-users] netconsole compilation in BSDI

> 
> Hi,
> 
> I've successfully compiled netconsole in solaris early this year, but now
> fail in bsdi 4.0.  The compilation of netconsole gives the following error
> messages. 
> 
> I tried to work around with OS_LIBS and OS_CFLAGS but with no luck. Any
> suggestion is welcome. :)
>
	This is probably my fault. I gave Vikas instructions how to fix it
for 3.X and didn't think about 4.0

	I don't have a 4.0 running yet, but I think this should help :

1) In Configure, line 193, add to the end of the BSDI line :

                BSD/OS \4*
 
2) Netconsole is the only program that does not make, build_display.c specifical   To fix :

        1) Edit include/netconsole.h to use oldcurses.h instead of curses.h
        2) Edit the Makefile to use -loldcurses instead of -lcurses


			Tuc/TTSG
> Rgds,
> Cho Man Fai
> 
> 
> cho: {148} % make
> cc -DNOCOL  -I/usr/staff/cho/src/nocol-4.2.1/include -DDATADIR=\"/usr/local/nocol/data\" -DMSGSDIR=\"/usr/local/nocol/msgs\"
> -DHELPFILE=\"/usr/local/nocol/etc/netconsole-help\" -c  build_display.c
> build_display.c: In function `display_screenful':
> build_display.c:222: structure has no member named `_cury'
> build_display.c:222: structure has no member named `_maxy'
> build_display.c:242: structure has no member named `_cury'
> build_display.c:242: structure has no member named `_begy'
> build_display.c:243: structure has no member named `_curx'
> build_display.c:243: structure has no member named `_begx'
> *** Error code 1
> 
> Stop.
>