* bug#10981: 23.3; emacs compilation cannot find source file in some case ("In file included from")
@ 2012-03-09 9:47 Michel Briand
2012-03-09 18:38 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Michel Briand @ 2012-03-09 9:47 UTC (permalink / raw)
To: 10981
Compilation mode works well with error like this :
./display.h:899:2: warning: multi-line comment [-Wcomment]
but it fails with error like this :
In file included from ./internal.h:32:0, <-- HERE
from world_script/fieldSet.c:33:
./display.h:899:2: warning: multi-line comment [-Wcomment]
Make has entered a sub-directory and Emacs has noted it because it offers this message in the minibuffer :
**Find this error in (default ./internal.h:32): /local/wk/michel/conf/cvs/freewrl/freewrl-HEAD/src/lib**
If I make the compilation buffer writable, and I delete the column number to have this line instead :
In file included from ./internal.h:32,
then it works.
Here is a more complete compilation log to help you understand the
context :
-*- mode: compilation; default-directory: "/home/michel/conf/cvs/freewrl/freewrl-HEAD/" -*-
Compilation started at Fri Mar 9 10:30:49
export LANG=en;make
make all-recursive
make[1]: Entering directory `/local/wk/michel/conf/cvs/freewrl/freewrl-HEAD'
Making all in src
make[2]: Entering directory `/local/wk/michel/conf/cvs/freewrl/freewrl-HEAD/src'
Making all in lib
make[3]: Entering directory `/local/wk/michel/conf/cvs/freewrl/freewrl-HEAD/src/lib'
CC world_script/fieldSet.lo
In file included from world_script/fieldSet.c:32:
./display.h:899:2: warning: multi-line comment [-Wcomment]
In file included from ./internal.h:32:0,
from world_script/fieldSet.c:33:
./display.h:899:2: warning: multi-line comment [-Wcomment]
In file included from ./iglobal.h:25:0,
from ./internal.h:58,
from world_script/fieldSet.c:33:
./display.h:899:2: warning: multi-line comment [-Wcomment]
world_script/fieldSet.c: In function 'setField_javascriptEventOut':
world_script/fieldSet.c:916:4: error: cannot convert to a pointer type
world_script/fieldSet.c: In function 'getJSMultiNumType':
world_script/fieldSet.c:1184:50: error: invalid operands to binary != (have 'jsval' and 'jsval')
world_script/fieldSet.c: In function 'getMFStringtype':
world_script/fieldSet.c:1453:28: error: cast to union type from type not present in union
make[3]: *** [world_script/fieldSet.lo] Error 1
make[3]: Leaving directory `/local/wk/michel/conf/cvs/freewrl/freewrl-HEAD/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local/wk/michel/conf/cvs/freewrl/freewrl-HEAD/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/wk/michel/conf/cvs/freewrl/freewrl-HEAD'
make: *** [all] Error 2
Compilation exited abnormally with code 2 at Fri Mar 9 10:30:49
In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.8)
of 2012-01-29 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11103901
configured using `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -DDEBIAN -O2' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: fr_FR@euro
value of $XMODIFIERS: nil
locale-coding-system: iso-latin-9-unix
default enable-multibyte-characters: t
Major mode: C/l
Minor modes in effect:
global-auto-complete-mode: t
auto-complete-mode: t
smart-tabs-mode: t
show-paren-mode: t
display-time-mode: t
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Recent input:
M-x c o m p i l e <backspace> a t i o n <backspace>
<backspace> <backspace> e <backspace> <backspace> <backspace>
e <return> <home> e x p o r t SPC L A N G = e n ; <return>
<C-tab> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <return>
<return> <down> C-g <down> <return> <C-tab> <up> <return>
<return> C-g <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <options> <debug-on-error> <help-echo> <down-mouse-1>
<mouse-1> <down> <down> <up> <return> <return> / w
o <tab> <return> C-g <end> <left> <backspace> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <help-echo>
<help-echo> C-g <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <backspace> <backspace>
<left> <left> <delete> <delete> <left> <left> <return>
<help-echo> <down-mouse-1> <mouse-1> C-SPC <home> <C-insert>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> C-SPC
<help-echo> <home> <C-insert> <return> <down> <down>
<C-tab> <down> <down> <down> <up> <return> C-SPC <home>
<home> <home> C-g <return> C-SPC <home> <C-insert>
<down-mouse-1> <mouse-1> <home> C-SPC <down> <down>
<down> <C-insert> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <send-emacs-bug-report> <help-echo> <help-echo>
<help-echo> <tool-bar> <kill-buffer> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <send-emacs-bug
-report>
Recent messages:
Mark set
Quit
call-interactively: Beginning of buffer [2 times]
Mark set
Note: file is write protected
Mark set [4 times]
Quit
Mark set
Mark activated
Entering debugger...
Load-path shadows:
~/.emacs.d/git hides /usr/share/emacs23/site-lisp/git/git
/usr/share/emacs/23.3/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs23/site-lisp/quilt-el/quilt hides /usr/share/emacs/site-lisp/quilt
/usr/share/emacs/23.3/site-lisp/cscope/xcscope hides /usr/share/emacs/site-lisp/xcscope
/usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/23.3/lisp/textmodes/rst
~/jecm/preforge/orgmode/lisp/org-habit hides /usr/share/emacs/23.3/lisp/org/org-habit
~/jecm/preforge/orgmode/lisp/org-timer hides /usr/share/emacs/23.3/lisp/org/org-timer
~/jecm/preforge/orgmode/lisp/org-bibtex hides /usr/share/emacs/23.3/lisp/org/org-bibtex
~/jecm/preforge/orgmode/lisp/org-rmail hides /usr/share/emacs/23.3/lisp/org/org-rmail
~/jecm/preforge/orgmode/lisp/org-publish hides /usr/share/emacs/23.3/lisp/org/org-publish
~/jecm/preforge/orgmode/lisp/org-mhe hides /usr/share/emacs/23.3/lisp/org/org-mhe
~/jecm/preforge/orgmode/lisp/org-agenda hides /usr/share/emacs/23.3/lisp/org/org-agenda
~/jecm/preforge/orgmode/lisp/org-colview hides /usr/share/emacs/23.3/lisp/org/org-colview
~/jecm/preforge/orgmode/lisp/org-vm hides /usr/share/emacs/23.3/lisp/org/org-vm
~/jecm/preforge/orgmode/lisp/org hides /usr/share/emacs/23.3/lisp/org/org
~/jecm/preforge/orgmode/lisp/org-indent hides /usr/share/emacs/23.3/lisp/org/org-indent
~/jecm/preforge/orgmode/lisp/org-info hides /usr/share/emacs/23.3/lisp/org/org-info
~/jecm/preforge/orgmode/lisp/org-feed hides /usr/share/emacs/23.3/lisp/org/org-feed
~/jecm/preforge/orgmode/lisp/org-attach hides /usr/share/emacs/23.3/lisp/org/org-attach
~/jecm/preforge/orgmode/lisp/org-faces hides /usr/share/emacs/23.3/lisp/org/org-faces
~/jecm/preforge/orgmode/lisp/org-jsinfo hides /usr/share/emacs/23.3/lisp/org/org-jsinfo
~/jecm/preforge/orgmode/lisp/org-table hides /usr/share/emacs/23.3/lisp/org/org-table
~/jecm/preforge/orgmode/lisp/org-remember hides /usr/share/emacs/23.3/lisp/org/org-remember
~/jecm/preforge/orgmode/lisp/org-archive hides /usr/share/emacs/23.3/lisp/org/org-archive
~/jecm/preforge/orgmode/lisp/org-clock hides /usr/share/emacs/23.3/lisp/org/org-clock
~/jecm/preforge/orgmode/lisp/org-wl hides /usr/share/emacs/23.3/lisp/org/org-wl
~/jecm/preforge/orgmode/lisp/org-irc hides /usr/share/emacs/23.3/lisp/org/org-irc
~/jecm/preforge/orgmode/lisp/org-macs hides /usr/share/emacs/23.3/lisp/org/org-macs
~/jecm/preforge/orgmode/lisp/org-freemind hides /usr/share/emacs/23.3/lisp/org/org-freemind
~/jecm/preforge/orgmode/lisp/org-inlinetask hides /usr/share/emacs/23.3/lisp/org/org-inlinetask
~/jecm/preforge/orgmode/lisp/org-latex hides /usr/share/emacs/23.3/lisp/org/org-latex
~/jecm/preforge/orgmode/lisp/org-datetree hides /usr/share/emacs/23.3/lisp/org/org-datetree
~/jecm/preforge/orgmode/lisp/org-crypt hides /usr/share/emacs/23.3/lisp/org/org-crypt
~/jecm/preforge/orgmode/lisp/org-docbook hides /usr/share/emacs/23.3/lisp/org/org-docbook
~/jecm/preforge/orgmode/lisp/org-exp hides /usr/share/emacs/23.3/lisp/org/org-exp
~/jecm/preforge/orgmode/lisp/org-icalendar hides /usr/share/emacs/23.3/lisp/org/org-icalendar
~/jecm/preforge/orgmode/lisp/org-footnote hides /usr/share/emacs/23.3/lisp/org/org-footnote
~/jecm/preforge/orgmode/lisp/org-list hides /usr/share/emacs/23.3/lisp/org/org-list
~/jecm/preforge/orgmode/lisp/org-plot hides /usr/share/emacs/23.3/lisp/org/org-plot
~/jecm/preforge/orgmode/lisp/org-id hides /usr/share/emacs/23.3/lisp/org/org-id
~/jecm/preforge/orgmode/lisp/org-src hides /usr/share/emacs/23.3/lisp/org/org-src
~/jecm/preforge/orgmode/lisp/org-compat hides /usr/share/emacs/23.3/lisp/org/org-compat
~/jecm/preforge/orgmode/lisp/org-mac-message hides /usr/share/emacs/23.3/lisp/org/org-mac-message
~/jecm/preforge/orgmode/lisp/org-w3m hides /usr/share/emacs/23.3/lisp/org/org-w3m
~/jecm/preforge/orgmode/lisp/org-gnus hides /usr/share/emacs/23.3/lisp/org/org-gnus
~/jecm/preforge/orgmode/lisp/org-xoxo hides /usr/share/emacs/23.3/lisp/org/org-xoxo
~/jecm/preforge/orgmode/lisp/org-install hides /usr/share/emacs/23.3/lisp/org/org-install
~/jecm/preforge/orgmode/lisp/org-html hides /usr/share/emacs/23.3/lisp/org/org-html
~/jecm/preforge/orgmode/lisp/org-mobile hides /usr/share/emacs/23.3/lisp/org/org-mobile
~/jecm/preforge/orgmode/lisp/org-ascii hides /usr/share/emacs/23.3/lisp/org/org-ascii
~/jecm/preforge/orgmode/lisp/org-exp-blocks hides /usr/share/emacs/23.3/lisp/org/org-exp-blocks
~/jecm/preforge/orgmode/lisp/org-protocol hides /usr/share/emacs/23.3/lisp/org/org-protocol
~/jecm/preforge/orgmode/lisp/org-mouse hides /usr/share/emacs/23.3/lisp/org/org-mouse
~/jecm/preforge/orgmode/lisp/org-bbdb hides /usr/share/emacs/23.3/lisp/org/org-bbdb
~/jecm/preforge/orgmode/lisp/org-mew hides /usr/share/emacs/23.3/lisp/org/org-mew
Features:
(shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util
hashcash mail-utils help-mode view debug emacsbug parse-time vc-cvs
cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs auto-complete-config auto-complete popup edmacro kmacro xcscope
git log-edit pcvs-util add-log ewoc smart-tabs-mode jka-compr saveplace
uniquify ob-plantuml ob-ditaa paren grep compile time cus-start cus-load
org byte-opt warnings bytecomp byte-compile advice help-fns
advice-preload ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table
org-footnote org-src ob-comint comint ring ob-keys ob ob-eval
org-pcomplete pcomplete org-list org-faces org-compat org-entities
org-macs time-date noutline outline easy-mmode regexp-opt cal-menu
easymenu calendar cal-loaddefs avoid debian-el debian-el-loaddefs
dpkg-dev-el dpkg-dev-el-loaddefs tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#10981: 23.3; emacs compilation cannot find source file in some case ("In file included from")
2012-03-09 9:47 bug#10981: 23.3; emacs compilation cannot find source file in some case ("In file included from") Michel Briand
@ 2012-03-09 18:38 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2012-03-09 18:38 UTC (permalink / raw)
To: Michel Briand; +Cc: 10981
Michel Briand wrote:
> **Find this error in (default ./internal.h:32): /local/wk/michel/conf/cvs/freewrl/freewrl-HEAD/src/lib**
>
> If I make the compilation buffer writable, and I delete the column number to have this line instead :
>
> In file included from ./internal.h:32,
>
> then it works.
Thanks for the report. I think this (confusion caused by column numbers
in error messages) is already fixed in the Emacs trunk. You might like
to try a pretest from http://alpha.gnu.org/gnu/emacs/pretest/ to confirm.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-09 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-09 9:47 bug#10981: 23.3; emacs compilation cannot find source file in some case ("In file included from") Michel Briand
2012-03-09 18:38 ` Glenn Morris
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).