* 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
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 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.