unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [dbast0s@yahoo.com.br: undefined reference getopt_long]
       [not found] <E1IQ3Im-0008Pm-Go@fencepost.gnu.org>
@ 2007-08-31  8:46 ` Glenn Morris
  2007-09-01  4:06   ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2007-08-31  8:46 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

Richard Stallman wrote:

> From: "Daniel C. Bastos" <dbast0s@yahoo.com.br>
> Subject: undefined reference getopt_long
> To: bug-gnu-emacs@gnu.org
> Date: Mon, 27 Aug 2007 11:39:01 -0400
[...]
> gcc -I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib    -DHAVE_CONFIG_H    -I. -I../src -I/home/dbastos/tmp/emacs/lib-src -I/home/dbastos/tmp/emacs/lib-src/../src -Wl,-znocombreloc -L/usr/X11R6/lib -I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib -g -O2 -DEMACS_NAME="\"GNU Emacs"\" -DVERSION="\"22.1.50\"" /home/dbastos/tmp/emacs/lib-src/etags.c getopt.o getopt1.o regex.o -lutil    -lc -o etags
> /tmp/cc86z2lb.o: In function `main':
> /home/dbastos/tmp/emacs/lib-src/etags.c(.text+0x71f): undefined reference to `getopt_long'


Shouldn't it pick up the definition of getopt_long from getopt1.c in
this case? Or does etags.c need to include "getopt.h" in this case,
rather than <getopt.h>?

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

* Re: [dbast0s@yahoo.com.br: undefined reference getopt_long]
  2007-08-31  8:46 ` [dbast0s@yahoo.com.br: undefined reference getopt_long] Glenn Morris
@ 2007-09-01  4:06   ` Richard Stallman
  2007-09-12  7:46     ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2007-09-01  4:06 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

    Shouldn't it pick up the definition of getopt_long from getopt1.c in
    this case? Or does etags.c need to include "getopt.h" in this case,
    rather than <getopt.h>?

I see that the file getopt.h is no longe rin the source.
Instead, the sources include getopt_.h.

Perhaps something failed to create getopt.h as it was supposed to.

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

* Re: [dbast0s@yahoo.com.br: undefined reference getopt_long]
  2007-09-01  4:06   ` Richard Stallman
@ 2007-09-12  7:46     ` Glenn Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2007-09-12  7:46 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

Richard Stallman wrote:

> I see that the file getopt.h is no longe rin the source.
> Instead, the sources include getopt_.h.
>
> Perhaps something failed to create getopt.h as it was supposed to.

Cannot do anything more on this without more input from the OP (have
asked twice, mails seem to bounce), or anyone else who has this
problem.

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

end of thread, other threads:[~2007-09-12  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1IQ3Im-0008Pm-Go@fencepost.gnu.org>
2007-08-31  8:46 ` [dbast0s@yahoo.com.br: undefined reference getopt_long] Glenn Morris
2007-09-01  4:06   ` Richard Stallman
2007-09-12  7:46     ` 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).