unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs with GNUstep
@ 2012-12-29  1:00 Germán A. Arias
  2012-12-29  8:02 ` Andreas Schwab
  2012-12-29  8:22 ` Andreas Schwab
  0 siblings, 2 replies; 5+ messages in thread
From: Germán A. Arias @ 2012-12-29  1:00 UTC (permalink / raw)
  To: Emacs-devel

With pretest 24.2.91 I had a problem to compile. I get something like:

gcc -std=gnu99 -rdynamic -Demacs  -I.
-I/home/german/Instalados/desde-codigo/emacs-24.2.91/src -I../lib
-I/home/german/Instalados/desde-codigo/emacs-24.2.91/src/../lib
-D_REENTRANT -fPIC -fno-strict-aliasing
-I/usr/GNUstep/System/Library/Headers
-I/usr/GNUstep/Local/Library/Headers    -I/usr/include/libxml2
-I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include
-MMD -MF deps/.d -MP     -g3 -O2
-L/usr/GNUstep/System/Library/Libraries
-L/usr/GNUstep/Local/Library/Libraries -lgnustep-gui -lgnustep-base
-lobjc -lpthread  \
	  -o temacs  dispnew.o frame.o scroll.o xdisp.o menu.o  window.o
charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o
term.o terminal.o xfaces.o   dbusbind.o emacs.o keyboard.o macros.o
keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o
fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o
undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o
font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o
callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o
textprop.o composite.o xml.o profiler.o       fontset.o fringe.o image.o
nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o terminfo.o
lastfile.o    vm-limit.o   ../lib/libgnu.a          -lrt -lrt  -ldbus-1
-lpthread -lrt    -lxml2      -ltinfo   -lselinux     -lgnutls
-lpthread   -lm  
nsterm.o: In function `ns_constrain_all_frames':
/home/german/Instalados/desde-codigo/emacs-24.2.91/src/nsterm.m:574:
undefined reference to `objc_msg_lookup'


the gnustep libraries flags are present. But this don't works. Googling
I found this:

http://stackoverflow.com/questions/11425120/objective-c-on-linux-compile-error

So, I solved the problem adding "-Wl,--no-as-needed" at line 4360 in configure.ac:

LD_SWITCH_SYSTEM_TEMACS="${LD_SWITCH_SYSTEM_TEMACS} -L
${GNUSTEP_SYSTEM_LIBRARIES} ${GNUSTEP_LOCAL_LIBRARIES}
-Wl,--no-as-needed -lgnustep-gui -lgnustep-base -lobjc -lpthread"

Could be possible add this flag in trunk? Thanks.




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

end of thread, other threads:[~2012-12-29 19:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-29  1:00 Emacs with GNUstep Germán A. Arias
2012-12-29  8:02 ` Andreas Schwab
2012-12-29  8:22 ` Andreas Schwab
2012-12-29 19:24   ` Germán A. Arias
2012-12-29 19:44     ` Andreas Schwab

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