Configure an ISDN connection

MarcoL mlprog1 at email.it
Sun Aug 7 21:04:40 UTC 2005


>>
> Matthias,
> I've looked for the package at http://packages.ubuntu.com but I could 
> find only the 3.6.2005-01-03-4ubuntu1 release of it.
> Could you tell me where can I find the release you mentioned?
> 
I've found the package!
I downloaded it, but when I try to compile it I get the followin errors:

marco at ubuntu:~/src/isdnutils-3.7.2005-07-09.orig$ make config
make[1]: Entering directory 
`/home/marco/src/isdnutils-3.7.2005-07-09.orig/scrip ts/lxdialog'
gcc -O2 -Wall -fomit-frame-pointer -DLOCALE  -DCURSES_LOC="<curses.h>" 
  -c -o l xdialog.o lxdialog.c
In file included from lxdialog.c:22:
dialog.h:22:23: sys/types.h: No such file or directory
dialog.h:23:19: fcntl.h: No such file or directory
dialog.h:24:20: unistd.h: No such file or directory
dialog.h:25:19: ctype.h: No such file or directory
dialog.h:26:20: stdlib.h: No such file or directory
dialog.h:27:20: string.h: No such file or directory
dialog.h:29:20: curses.h: No such file or directory
In file included from lxdialog.c:22:
dialog.h:109: error: syntax error before "use_colors"
dialog.h:109: warning: type defaults to `int' in declaration of `use_colors'
dialog.h:109: warning: data definition has no type or storage class
dialog.h:110: error: syntax error before "use_shadow"
dialog.h:110: warning: type defaults to `int' in declaration of `use_shadow'
dialog.h:110: warning: data definition has no type or storage class
dialog.h:112: error: syntax error before "attributes"
dialog.h:112: warning: type defaults to `int' in declaration of `attributes'
dialog.h:112: warning: data definition has no type or storage class
dialog.h:125: error: syntax error before '*' token
dialog.h:128: error: syntax error before '*' token
dialog.h:129: error: syntax error before '*' token
dialog.h:130: error: syntax error before '*' token
dialog.h:132: error: syntax error before '*' token
lxdialog.c:47: error: `NULL' undeclared here (not in a function)
lxdialog.c:47: error: initializer element is not constant
lxdialog.c:47: error: (near initialization for `modes[8].name')
lxdialog.c:47: error: `NULL' undeclared here (not in a function)
lxdialog.c:47: error: initializer element is not constant
lxdialog.c:47: error: (near initialization for `modes[8].jumper')
lxdialog.c:47: error: initializer element is not constant
lxdialog.c:47: error: (near initialization for `modes[8]')
lxdialog.c:53:20: locale.h: No such file or directory
lxdialog.c: In function `main':
lxdialog.c:60: error: `NULL' undeclared (first use in this function)
lxdialog.c:60: error: (Each undeclared identifier is reported only once
lxdialog.c:60: error: for each function it appears in.)
lxdialog.c:63: warning: implicit declaration of function `setlocale'
lxdialog.c:63: error: `LC_ALL' undeclared (first use in this function)
lxdialog.c:68: warning: implicit declaration of function `exit'
lxdialog.c:72: warning: implicit declaration of function `strcmp'
lxdialog.c:94: warning: implicit declaration of function `refresh'
lxdialog.c:128: error: `stdscr' undeclared (first use in this function)
lxdialog.c:128: error: `LINES' undeclared (first use in this function)
lxdialog.c:128: error: `COLS' undeclared (first use in this function)
lxdialog.c: In function `Usage':
lxdialog.c:142: warning: implicit declaration of function `fprintf'
lxdialog.c:142: error: `stderr' undeclared (first use in this function)
lxdialog.c: In function `j_menu':
lxdialog.c:172: warning: implicit declaration of function `atoi'
lxdialog.c: In function `j_inputbox':
lxdialog.c:206: error: `NULL' undeclared (first use in this function)
lxdialog.c:225: warning: implicit declaration of function `fputs'
lxdialog.c:225: error: `stderr' undeclared (first use in this function)
lxdialog.c: At top level:
dialog.h:112: warning: array `attributes' assumed to have one element
make[1]: *** [lxdialog.o] Error 1
make[1]: Leaving directory 
`/home/marco/src/isdnutils-3.7.2005-07-09.orig/script s/lxdialog'
make: *** [scripts/lxdialog/lxdialog] Error 2

What is missing?

Marco.






More information about the ubuntu-users mailing list