Subject: Re: problems building emacs(solved)
To: None <blymn@baesystems.com.au>
From: Sylvester F <sylvester_f@hotmail.com>
List: netbsd-help
Date: 01/12/2001 14:51:48
Brett Lymn wrote:
>According to Sylvester F:
> >
> >anyone succeeded in compiling emacs on netbsd1.5?
> >i tried to compile emacs19-34 but failed.
> >for some time, it compiled happily, and then ended with some errors:
> >
>
>Yes, but it was not fun.  As someone else recommended you are probably
>best off getting the latest and greatest.  If you want to persist with
>19.34 what you need to do is make sure that unexec is using the ELF
>version (unexelf.c) not the sunos4 one you appear to be using, just
>copy unexelf.c to unexec.c.  Edit the unexec.c file and comment out
>this block of defines:
>
># define PT_LOAD      Elf_pt_load
># define SHT_SYMTAB     Elf_sht_symtab
># define SHT_DYNSYM     Elf_sht_dynsym
># define SHT_NULL       Elf_sht_null
># define SHT_NOBITS     Elf_sht_nobits
># define SHT_REL        Elf_sht_rel
># define SHT_RELA       Elf_sht_rela
>
># define SHN_UNDEF      Elf_eshn_undefined
># define SHN_ABS        Elf_eshn_absolute
># define SHN_COMMON     Elf_eshn_common
>
>
>You should then be able to build emacs for NetBSD ELF.

thanks for the help, it didn't quite exactly solve the problem, but helped 
me to see where the problem was.  at the end, i managed to compile emacs 
succesfully.  it's a lot easier to write and compile c with emacs than it 
was with vi :)

Sylvester F

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.