Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 1999 07:47:33 -0800 (PST)
From:      "Michael V. Harding" <mvh@ix.netcom.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Help compiling emacs
Message-ID:  <199901021547.HAA21182@netcom1.netcom.com>

next in thread | raw e-mail | index | archive | help


I just upgraded to 3.0-current, using 12-15-98 as the checkout date -
the current one wasn't working for me.  I am also using a fresh ports
checkout as of today.  I've made includes and used 'mergemaster' to
sync everything up.

Any tips on compiling emacs-20.3?  I get multiple errors - 

I did not have any problems with 2.2.8...

cc -c -DHAVE_CONFIG_H    -I. -I../src -I/usr/ports/editors/emacs20/work/emacs-20.3/lib-src -I/usr/ports/editors/emacs20/work/emacs-20.3/lib-src/../src  -O -pipe -Demacs  /usr/ports/editors/emacs20/work/emacs-20.3/lib-src/movemail.c
/usr/ports/editors/emacs20/work/emacs-20.3/lib-src/movemail.c: In function `strerror':
/usr/ports/editors/emacs20/work/emacs-20.3/lib-src/movemail.c:892: conflicting types for `sys_errlist'
/usr/include/stdio.h:225: previous declaration of `sys_errlist'
gmake[1]: *** [movemail.o] Error 1

...

cc -c  -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/usr/ports/editors/emacs20/work/emacs-20.3/src       -I/usr/X11R6/include      -O -pipe xterm.c
xterm.c: In function `x_term_init':
xterm.c:7091: dereferencing pointer to incomplete type
gmake[1]: *** [xterm.o] Error 1

...

cc -c  -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/usr/ports/editors/emacs20/work/emacs-20.3/src       -I/usr/X11R6/include      -O -pipe sysdep.c
sysdep.c: In function `init_system_name':
sysdep.c:2265: storage size of `uts' isn't known
sysdep.c: At top level:
sysdep.c:2406: `x_windows_lose_if_no_select_system_call' undeclared here (not in a function)
sysdep.c:2591: warning: type mismatch with previous external decl
sysdep.c:2488: warning: previous external decl of `read_input_waiting'
sysdep.c:2591: warning: type mismatch with previous implicit declaration
sysdep.c:2552: warning: previous implicit declaration of `read_input_waiting'
sysdep.c:2591: warning: `read_input_waiting' was previously implicitly declared to return `int'
sysdep.c: In function `read_input_waiting':
sysdep.c:2602: too many arguments to function
Bsysdep.c: In function `strerror':
sysdep.c:3027: conflicting types for `sys_errlist'
/usr/include/stdio.h:225: previous declaration of `sys_errlist'
sysdep.c: In function `mkdir':
sysdep.c:3689: argument `dpath' doesn't match prototype
/usr/include/sys/stat.h:236: prototype declaration
sysdep.c:3689: argument `dmode' doesn't match prototype
/usr/include/sys/stat.h:236: prototype declaration
sysdep.c: In function `rmdir':
sysdep.c:3747: argument `dpath' doesn't match prototype
/usr/include/unistd.h:95: prototype declaration
gmake[1]: *** [sysdep.o] Error 1

...


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901021547.HAA21182>