all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gcc: unrecognized option '-2.0/'
@ 2010-12-28 20:58 Ooh_Gravy
  2010-12-28 21:24 ` Sven Joachim
  2010-12-29 22:36 ` Peter Dyballa
  0 siblings, 2 replies; 4+ messages in thread
From: Ooh_Gravy @ 2010-12-28 20:58 UTC (permalink / raw)
  To: help-gnu-emacs

Hi there,

I've just tried installing Emacs on a fresh install of Ubuntu 10.10
and have run into a problem trying to compile Emacs 23.2.  I initially
had a load of libraries missing so running 'configure' would fail.
Having installed all the libs that were highlighted as missing I am
now falling at the next hurdle.

When running 'make' I'm getting an unrecognized option warning for
gcc.  I'm assuming that an environment variable isn't set up correctly
but need some help identifying what is wrong.  The error and one of
the gcc command lines are pasted below.

Thanks.

sjalloq@sjalloq-VirtualBox:/usr/local/src/emacs-23.2$ make
cd lib-src; make all                            \
	  CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement -Wno-pointer-
sign  ' CPPFLAGS='-D_BSD_SOURCE  ' \
	  LDFLAGS='-Wl,-znocombreloc  ' MAKE='make'
make[1]: Entering directory `/usr/local/src/emacs-23.2/lib-src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/emacs-23.2/lib-src'
boot=bootstrap-emacs;                         \
	if [ ! -x "src/$boot" ]; then                                     \
	    cd src; make all                                    \
	      CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement -Wno-
pointer-sign  ' CPPFLAGS='-D_BSD_SOURCE  '         \
	      LDFLAGS='-Wl,-znocombreloc  ' MAKE='make'
BOOTSTRAPEMACS="$boot"; \
	fi;
make[1]: Entering directory `/usr/local/src/emacs-23.2/src'
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/src/
emacs-23.2/src -D_BSD_SOURCE -pthread -I/usr/include/gtk-2.0 -I/usr/
lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/
include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-1
-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/
include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/
usr/include/freetype2     -g -O2 -Wdeclaration-after-statement -Wno-
pointer-sign   -MMD -MF deps/emacs.d emacs.c
gcc: unrecognized option '-2.0/'


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

* Re: gcc: unrecognized option '-2.0/'
  2010-12-28 20:58 gcc: unrecognized option '-2.0/' Ooh_Gravy
@ 2010-12-28 21:24 ` Sven Joachim
  2010-12-30  9:09   ` Ooh_Gravy
  2010-12-29 22:36 ` Peter Dyballa
  1 sibling, 1 reply; 4+ messages in thread
From: Sven Joachim @ 2010-12-28 21:24 UTC (permalink / raw)
  To: help-gnu-emacs

On 2010-12-28 21:58 +0100, Ooh_Gravy wrote:

> When running 'make' I'm getting an unrecognized option warning for
> gcc.  I'm assuming that an environment variable isn't set up correctly
> but need some help identifying what is wrong.

The warning is harmless, you can ignore it while waiting for Emacs 23.3
(which fixes it) to be released.  See http://debbugs.gnu.org/5857 for
details.

Sven



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

* Re: gcc: unrecognized option '-2.0/'
  2010-12-28 20:58 gcc: unrecognized option '-2.0/' Ooh_Gravy
  2010-12-28 21:24 ` Sven Joachim
@ 2010-12-29 22:36 ` Peter Dyballa
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2010-12-29 22:36 UTC (permalink / raw)
  To: Ooh_Gravy; +Cc: help-gnu-emacs


Am 28.12.2010 um 21:58 schrieb Ooh_Gravy:

> -I/usr/include/gio-1
> -2.0/

Doesn't this look a bit suspicious?

(In GNU Emacs' *compilation* buffer isearch works well.)

--
Greetings

   Pete

Almost anything is easier to get into than out of.
				– Allen's Law




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

* Re: gcc: unrecognized option '-2.0/'
  2010-12-28 21:24 ` Sven Joachim
@ 2010-12-30  9:09   ` Ooh_Gravy
  0 siblings, 0 replies; 4+ messages in thread
From: Ooh_Gravy @ 2010-12-30  9:09 UTC (permalink / raw)
  To: help-gnu-emacs

On Dec 28, 9:24 pm, Sven Joachim <svenj...@gmx.de> wrote:
> On 2010-12-28 21:58 +0100, Ooh_Gravy wrote:
>
> The warning is harmless, you can ignore it while waiting for Emacs 23.3
> (which fixes it) to be released.  Seehttp://debbugs.gnu.org/5857for
> details.
>
> Sven

Thanks a lot Sven. I saw the warnings and immediately killed the
compile thinking something was wrong. I'll rerun, thanks.


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

end of thread, other threads:[~2010-12-30  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28 20:58 gcc: unrecognized option '-2.0/' Ooh_Gravy
2010-12-28 21:24 ` Sven Joachim
2010-12-30  9:09   ` Ooh_Gravy
2010-12-29 22:36 ` Peter Dyballa

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.