pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build of xterm-259 fails
(Resending as I just realised that I responded only to Tim before)
------------------------------------------------------------------
* "Timothy E. Larson" wrote:
> Looking at the header (utmp.h), exit_status is supposed to have two
> members, e_termination and e_exit. Looks like a simple typo.
Ok, I adjusted "xterm.h" and "xtermcfg.h" to "e_exit".
Now it compiled but ran into another error:
[...]
/bin/sh ./plink.sh gcc -O -I/swmtools/include
-I/swmtools/include/ncurses -I/swmtools/gcc44/include -I/usr/include
-L/swm/platform/sol10.64-v1.0.0/gcc44/bin/../lib/gcc/sparc64-sun-solaris2.10/4.4.4
-Wl,-R/swm/platform/sol10.64-v1.0.0/gcc44/bin/../lib/gcc/sparc64-sun-solaris2.10/4.4.4
-L/swm/platform/sol10.64-v1.0.0/gcc44/bin/../lib
-Wl,-R/swm/platform/sol10.64-v1.0.0/gcc44/bin/../lib -L/swmtools/lib
-Wl,-R/swmtools/lib -L/swmtools/gcc44/lib -L/usr/lib -Wl,-R/usr/lib -o
xterm button.o cachedGCs.o charproc.o charsets.o cursor.o data.o
doublechr.o fontutils.o input.o linedata.o main.o menu.o misc.o print.o
ptydata.o scrollback.o screen.o scrollbar.o tabs.o util.o xstrings.o
xtermcap.o VTPrsTbl.o TekPrsTbl.o Tekproc.o charclass.o precompose.o
wcwidth.o -lpcreposix -Wl,-R/swmtools/lib -L/swmtools/lib -lpcre
-Wl,-R/swmtools/lib -L/swmtools/lib -lXaw7 -lXmu -lXt -lX11 -lSM -lICE
-Wl,-R/swmtools/lib -L/swmtools/lib -lXt -lX11 -lSM -lICE -lncurses
-lsocket -lnsl
[...] Undefined first referenced
symbol in file
revoke main.o
ld: fatal: Symbol referencing errors. No output written to xterm
collect2: ld returned 1 exit status
*** Error code 1
As I could not find any library providing a "revoke" func/obj I removed
the following code from "main.c":
#ifdef CSRG_BASED
IGNORE_RC(revoke(ttydev));
#endif
(I don't understand why CSRG_BASED gets defined on Solaris anyway. By
looking at ${PKGSRC}/include/X11/Xosdefs.h it should not).
Now the package compiles (and runs ;-). Looks like this package is badly
br0ked...
Thanks for you help.
Stefan
Home |
Main Index |
Thread Index |
Old Index