Hi, I installed FreeBSD and did minimum install.
after install I noticed that I need distributions / ports and games.
after that I tryed to install Screen
so what I did:
downloaded http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz
gunzip'ed and tar'ed to same dir, everything seem to be well
told 'sh ./configure'
and everything was well (at least I didn't see anything weird)
then I edited Makefile:
DESTDIR = ./daa
(I did that dir earlier to my home dir)
and then just commanded 'make'
then I got ~20 screens of "warning: incompatible implicit declaration of built-in function" 'module name'
And I don't have any idea what to try next
But I don't see any errors there, just warnings. But still it wont compile it.
I think ppl know error without pasting full log so I'll just paste some last lines of errors:
...
layer.c: In function 'LMsg':
layer.c:1097: warning: incompatible implicit declaration of built-in function 'strlen'
layer.c:1100: warning: incompatible implicit declaration of built-in function 'strncpy'
layer.c:1100: warning: passing argument 2 of 'strncpy' makes pointer from integer without a cast
gcc -c -I. -I. -g -O2 sched.c
gcc -c -I. -I. -g -O2 teln.c
gcc -c -I. -I. -g -O2 nethack.c
gcc -c -I. -I. -g -O2 encoding.c
encoding.c: In function 'LoadFontTranslation':
encoding.c:1567: warning: incompatible implicit declaration of built-in function 'strlen'
gcc -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o sched.o teln.o nethack.o encoding.o -lcurses -lutil -lutil -lcrypt
after install I noticed that I need distributions / ports and games.
after that I tryed to install Screen
so what I did:
downloaded http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz
gunzip'ed and tar'ed to same dir, everything seem to be well
told 'sh ./configure'
and everything was well (at least I didn't see anything weird)
then I edited Makefile:
DESTDIR = ./daa
(I did that dir earlier to my home dir)
and then just commanded 'make'
then I got ~20 screens of "warning: incompatible implicit declaration of built-in function" 'module name'
And I don't have any idea what to try next
But I don't see any errors there, just warnings. But still it wont compile it.
I think ppl know error without pasting full log so I'll just paste some last lines of errors:
...
layer.c: In function 'LMsg':
layer.c:1097: warning: incompatible implicit declaration of built-in function 'strlen'
layer.c:1100: warning: incompatible implicit declaration of built-in function 'strncpy'
layer.c:1100: warning: passing argument 2 of 'strncpy' makes pointer from integer without a cast
gcc -c -I. -I. -g -O2 sched.c
gcc -c -I. -I. -g -O2 teln.c
gcc -c -I. -I. -g -O2 nethack.c
gcc -c -I. -I. -g -O2 encoding.c
encoding.c: In function 'LoadFontTranslation':
encoding.c:1567: warning: incompatible implicit declaration of built-in function 'strlen'
gcc -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o sched.o teln.o nethack.o encoding.o -lcurses -lutil -lutil -lcrypt