all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Can't compile on FreeBSD
@ 2011-05-19  8:03 Yoshiaki Kasahara
  2011-05-19  8:32 ` Andrew W. Nosenko
  0 siblings, 1 reply; 6+ messages in thread
From: Yoshiaki Kasahara @ 2011-05-19  8:03 UTC (permalink / raw)
  To: emacs-devel

Hello,

Currently I cannot compile rev 104284 on FreeBSD (8.2-RELEASE).

gcc -std=gnu99   -Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-after-statement  -DHAVE_CONFIG_H -I. -I../src -I../lib -I/usr/local/src/Emacs24/emacs/lib-src -I/usr/local/src/Emacs24/emacs/lib-src/../src -I/usr/local/src/Emacs24/emacs/lib-src/../lib  -Wl,-znocombreloc -L/usr/local/lib  -g -O2 /usr/local/src/Emacs24/emacs/lib-src/profile.c ../lib/libgnu.a -lutil -o profile
In file included from /usr/local/src/Emacs24/emacs/lib-src/profile.c:31:
../src/config.h:1366:1: warning: "alloca" redefined
In file included from ../lib/stdlib.h:35,
                 from ../src/config.h:1361,
                 from /usr/local/src/Emacs24/emacs/lib-src/profile.c:31:
/usr/include/stdlib.h:237:1: warning: this is the location of the previous definition
In file included from /usr/local/src/Emacs24/emacs/lib-src/profile.c:33:
../src/systime.h:34:20: error: X11/X.h: No such file or directory
gmake[2]: *** [profile] Error 1
gmake[2]: Leaving directory `/usr/local/src/Emacs24/emacs/lib-src'
gmake[1]: *** [lib-src] Error 2
gmake[1]: Leaving directory `/usr/local/src/Emacs24/emacs'
gmake: *** [bootstrap] Error 2

On FreeBSD, X-related include files are under /usr/local/include/X11,
and the compiler doesn't search /usr/local/include by default.  I'm
not sure how it should be fixed...(add C_SWITCH_X_SITE for compiling
profile.c ?)

Regards,
-- 
Yoshiaki Kasahara
Research Institute for Information Technology, Kyushu University
kasahara@nc.kyushu-u.ac.jp



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-20 10:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-19  8:03 Can't compile on FreeBSD Yoshiaki Kasahara
2011-05-19  8:32 ` Andrew W. Nosenko
2011-05-19  9:10   ` Yoshiaki Kasahara
2011-05-19 10:22     ` Yoshiaki Kasahara
2011-05-20  6:49     ` Paul Eggert
2011-05-20 10:01       ` Yoshiaki Kasahara

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.