Home/Support/Support Forum/Error compiling dgrp drivers
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Error compiling dgrp drivers

0 votes
We compiled and installed dgrp-1.8-1 on our prototype system (running Redhat AS 3) a very long time ago. We recently upgraded the kernel to 2.4.21-37.0.1 from the Redhat site, and went to recompile the new version of dgrp as well. We are unable to get it to compile.

A manual ./configure DISTRO=REDHAT_AS_3 followed by make all yields the error output (in part):

make[2]: Entering directory `/usr/src/redhat/BUILD/dgrp-1.9/dinc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/dgrp-1.9/dinc'
make[1]: Leaving directory `/usr/src/redhat/BUILD/dgrp-1.9/dinc'
(cd dparp; make linux)
make[1]: Entering directory `/usr/src/redhat/BUILD/dgrp-1.9/dparp'
make -f os/Makefile.Linux all
make[2]: Entering directory `/usr/src/redhat/BUILD/dgrp-1.9/dparp'
gcc -O2 -g -W -Wall -DLINUX -I./inc -c -o main.o main.c
main.c:24:21: curses.h: No such file or directory
main.c:29:20: panel.h: No such file or directory
In file included from main.c:44:
inc/dpa_rp.h:119: syntax error before '*' token
inc/dpa_rp.h:119: warning: type defaults to `int' in declaration of `dfp'
inc/dpa_rp.h:119: warning: data definition has no type or storage class
In file included from main.c:47:
inc/curses_helpers.h:49: syntax error before "WINDOW"
inc/curses_helpers.h:49: warning: no semicolon at end of struct or union
inc/curses_helpers.h:50: warning: type defaults to `int' in declaration of `pan'
inc/curses_helpers.h:50: warning: data definition has no type or storage class

I definitely don't have either curses.h or panel.h anywhere on the system (I do have ncurses-5.3-9.3 loaded.) Kernel source is loaded.

Any ideas?
asked Mar 7, 2006 in Realport by billones New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
You will need to install ncurses-devel. Additional package dependencies are listed here:

answered Mar 7, 2006 by userid0 Veteran of the Digi Community (2,158 points)