compiling emacs18.59 with gcc-2.3.3 on X11R5 (not X11R4)

compiling emacs18.59 with gcc-2.3.3 on X11R5 (not X11R4)

Post by Oon-Gil Pa » Sun, 25 Apr 1993 02:57:19



Dear friends,

I almost succeeded with emacs compiling. but at the last stage of
compillation, I found some errors, and the error was about the    
missing lib files for X111R4. But I have X11R5 instead.
I don't know where to look for in order to let it know that I have
library files for X11R5 not for X11R4.

Does anyone have this problem? Which files should I modify?

Thanx a lot in advance.

--
----------------------------------------------------------------
CALIFORNIA INSTITUTE OF TECHNOLOGY  |IIIIIIIIIIIIIIIIIIIIIIIIIII

-----------------------------------------------------------------

 
 
 

compiling emacs18.59 with gcc-2.3.3 on X11R5 (not X11R4)

Post by Kenneth B. Street » Sun, 25 Apr 1993 04:41:04


I have the exact same question; maybe we should add this to the FAQ?

--Ken

--

Lockheed Sanders           | UUCP: ...!uunet!rocket.sanders.com!streeter
MER24-1583C                |
144 Daniel Webster Highway | Voice: (603) 885-9604
Merrimack, NH 03054        | Fax:   (603) 885-0631

 
 
 

compiling emacs18.59 with gcc-2.3.3 on X11R5 (not X11R4)

Post by Brett McC » Sun, 25 Apr 1993 07:52:01



Quote:>I almost succeeded with emacs compiling. but at the last stage of
>compillation, I found some errors, and the error was about the    
>missing lib files for X111R4. But I have X11R5 instead.
>I don't know where to look for in order to let it know that I have
>library files for X11R5 not for X11R4.

>Does anyone have this problem? Which files should I modify?

Apply the following patch to s-sol2.h in the src directory.  It should
fix your problem.  You'll need to do a 'make clean' and rebuild for
the changes to take effect.

You can also get the default built emacs to work if you add
/usr/openwin/lib to your LD_LIBRARY_PATH.

One thing to note, the default builds an temacs that is dynamically
linked against /usr/openwin/lib/libX11.so.4, but building with the
following patch causes /usr/local/lib/libX11.so.5 to be linked
statically.  Does anyone know why this is?

======================================================================
*** /tmp/T0a005se       Fri Apr 23 16:54:41 1993
--- s-sol2.h    Fri Apr 23 16:29:39 1993
***************
*** 7,14 ****
  #define POSIX

  /* Here is how to find X Windows.  */
! #define LD_SWITCH_SYSTEM -L/usr/openwin/lib
! #define C_SWITCH_X_SYSTEM -I/usr/openwin/include

  /* Compile in non-ansi fashion to work around bugs in system header files.  */
  #ifndef __GNUC__
--- 7,14 ----
  #define POSIX

  /* Here is how to find X Windows.  */
! #define LD_SWITCH_SYSTEM -L/usr/local/lib -R/usr/local/lib
! #define C_SWITCH_X_SYSTEM -I/usr/local/include

  /* Compile in non-ansi fashion to work around bugs in system header files.  */
  #ifndef __GNUC__
======================================================================

++Brett;

 
 
 

1. Trying to compile Emacs18.59 on AIX 3.2

I just had an AIX plopped on my lap w/o any online or hard docs.  The
o/s was already installed and now I'm suppose to support it. )-:

I grabbed the info on compiling emacs 18.59 on aix 3.2 from
aixpdlib.seas.ucla.edu, and still can't get it to compile.  It seems
it may be that I don't have all the proper library files or something.
When I try to compile, I get:

        make    -f xmakefile  all
        cc -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp   -o temacs
dispnew.o  
0706-317 ERROR: Unresolved or undefined symbols detected:
                 Symbols in error (followed by references) are
                 dumped to the load map.
                 The -bloadmap:<filename> option will create a load
map.
__iconv_open
IMIoctl
IMProcessAuxiliary
IMLookupString
IMFilter
IMDestroy
IMCreate
IMClose
IMInitialize
The error code from the last failed command is 8.

I made all of the changes listed in the README.RS6K, and the only one
I wasn't sure about was:

---

+ Check for the appropriate CFLAGS in the src/ymakefile

----
I didn't change any of the flags, they seemed to look okay.  Perhaps I
do need to make a change here?

Any suggestions?

Thanks,

-rob


2. Device Drivers for Linux

3. emacs18.59 setup for Xwindow on solaris2.1 HELP!

4. KDE PROBLEM! Please Help!!

5. compiling Tk-3.2 under Solaris 2.x with gcc-2.3.3

6. getty_ps-2.0.7e doesn't answer the phone

7. Compiling gcc-2.3.3 problem

8. Online Linux Support/User Group

9. make x86 math-emu in 2.4.21 compile with gcc 3.3

10. 2.5.72: sbni.c doesn't compile with gcc 3.3

11. [2.5.69] Make xconfig compile with gcc 3.3

12. compiling gcc 3.3 on sol9 sparc ultra 1`

13. Make ACPI compile again on 64bit/gcc 3.3