I followed the suggestion of specifying the --cflags option to configure and
the link problem occurred exactly the same. The output from configure did
show that it recognised the command-line option.
>>>> "VS" == Vin Shelton <acs(a)xemacs.org>
writes:
VS> Aren't you trying to use binutils? From the PROBLEMS file:
VS> *** Dumping error when using GNU binutils / GNU ld on a Sun.
VS> Errors similar to the following:
VS> Dumping under the name xemacs unexec():
VS> dldump(/space/rpluim/xemacs-obj/src/xemacs): ld.so.1: ./temacs:
VS> fatal: /space/rpluim/xemacs-obj/src/xemacs: unknown dynamic entry:
VS> 1879048176
VS> are caused by using GNU ld. There are several workarounds available:
VS> In XEmacs 21.2 or later, configure using the new portable dumper
VS> (--pdump).
VS> Alternatively, you can link using the Sun version of ld, which is
VS> normally held in /usr/ccs/bin. This can be done by one of:
VS> - building gcc with these configure flags:
VS> configure --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
VS> - adding -B/usr/ccs/bin/ to CFLAGS used to configure XEmacs
VS> (Note: The trailing '/' there is significant.)
VS> - uninstalling GNU ld.
VS> - Vin
--
Jake Colman -- XEmacs Tinkerer