Re: GTK+ 1.2.7: failing to compile gtkmain.c
- From: Tim Janik <timj gtk org>
- To: gtk-devel-list redhat com
- Subject: Re: GTK+ 1.2.7: failing to compile gtkmain.c
- Date: Thu, 17 Feb 2000 21:12:31 +0100 (CET)
On 17 Feb 2000, Raja R Harinath wrote:
> > gcc -DHAVE_CONFIG_H -I. -I../../gtk
> > -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
> > -DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I../.. -DGTK_NO_CHECK_CASTS
> > -DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include
> > -D_REENTRANT -I/usr/X11R6/include -g -O2 -Wall -c
> > ../../gtk/gtkmain.c -o gtkmain.o >/dev/null 2>&1
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> This looks like a compiler error. It compiles the -fPIC version but
> not the non-PIC version... wierd. Maybe you temporarily ran out of
it's libtool's responsiveness to pas -fPIC to the compiler, so this looks
more like a libtool bug, rather than a gcc one.
i just don't know how to reproduce that here.
> disk space, or there's some little bug in gcc that is tickled by the
> code in gtkmain.c.
>
> Try running
>
> make gtkmain.o
>
> and look at the output. This compiles the non-PIC version without
> redirecting the output of the compiler to /dev/null.
>
> - Hari
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]