* xterm.c compile error (May 29th)
@ 2006-05-29 4:28 djh
2006-05-29 6:32 ` Jan Djärv
0 siblings, 1 reply; 3+ messages in thread
From: djh @ 2006-05-29 4:28 UTC (permalink / raw)
I just downloaded from cvs a new clean source to work with.
Platform: cygwin 5.19
During make bootstrap the folllowing occured:
gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_GTK -I. -I/cygdrive/c/emacs/cvs/emacs/src -I/usr/X11R6/include/X11 -DXTHREADS -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 xterm.c
xterm.c: In function `x_term_init':
xterm.c:10364: error: dereferencing pointer to incomplete type
make[2]: *** [xterm.o] Error 1
>From file xterm.c near line # 10364
#ifdef HAVE_XRMSETDATABASE
XrmSetDatabase (dpyinfo->display, xrdb);
#else
Line # 10364 dpyinfo->display->db = xrdb;
#endif
I have not run into this error before.
Have any changes been made within the last several days that might have caused this?
Darel henman
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xterm.c compile error (May 29th)
2006-05-29 4:28 xterm.c compile error (May 29th) djh
@ 2006-05-29 6:32 ` Jan Djärv
2006-05-29 7:40 ` xterm.c compile error (my mistake) djh
0 siblings, 1 reply; 3+ messages in thread
From: Jan Djärv @ 2006-05-29 6:32 UTC (permalink / raw)
Cc: emacs-devel
djh skrev:
> I just downloaded from cvs a new clean source to work with.
>
> Platform: cygwin 5.19
>
> During make bootstrap the folllowing occured:
>
>
> gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_GTK -I. -I/cygdrive/c/emacs/cvs/emacs/src -I/usr/X11R6/include/X11 -DXTHREADS -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
> -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 xterm.c
>
>
> xterm.c: In function `x_term_init':
> xterm.c:10364: error: dereferencing pointer to incomplete type
> make[2]: *** [xterm.o] Error 1
>
>
>>From file xterm.c near line # 10364
>
> #ifdef HAVE_XRMSETDATABASE
> XrmSetDatabase (dpyinfo->display, xrdb);
> #else
> Line # 10364 dpyinfo->display->db = xrdb;
> #endif
>
>
> I have not run into this error before.
> Have any changes been made within the last several days that might have caused this?
>
Your configure run probably doesn't find XrmSetDatabase for som reason, check
config.log. There is most likely an error in the compilation or something.
Nothing regarding this has changed recently.
Jan D.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xterm.c compile error (my mistake)
2006-05-29 6:32 ` Jan Djärv
@ 2006-05-29 7:40 ` djh
0 siblings, 0 replies; 3+ messages in thread
From: djh @ 2006-05-29 7:40 UTC (permalink / raw)
Cc: djh, emacs-devel
Indeed I find this in my config.log
You are right Jan in my config.log I found the following:
configure:10069: checking for XrmSetDatabase
configure:10126: gcc -o conftest.exe -I/usr/X11R6/include/X11 -g -O2 -I/usr/X11R6/include/X11 -L/usr/X11R6/libw conftest.c -lX11 >&5
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lX11
collect2: ld returned 1
>
> your configure run probably doesn't find XrmSetDatabase for som reason, check
> config.log. There is most likely an error in the compilation or something.
> Nothing regarding this has changed recently.
>
> Jan D.
Thanks a lot for the help. When I did an "<ESC> w" to copy region I apparently missed the <ESC> key and left a 'w' appended toe my "lib" setting in my configuration command line.
Darel Henman
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-29 7:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-29 4:28 xterm.c compile error (May 29th) djh
2006-05-29 6:32 ` Jan Djärv
2006-05-29 7:40 ` xterm.c compile error (my mistake) djh
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.