[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems compiling xfree 3.3.5 under slink...



I've got the tip to change the LIBC6MINORVERSION_default in debian/rules
from 1 to 0, since I want to link xfree against the glibc 2.0 instead 2.1
... this works now fine now.

And after the second compilation aported after 6 1/2 hours (on a Pentium
MMX 233) I had a look at debian/README.source-depends (can anybody tell
me, why README files are called README? :-), installed the missing
packages ... and now I'm again waiting, hoping that the package will
compile with out any error the next 12 hours or so...

Martin

PS: ... and I hope, that 2G are enougth HD space (I've run one time out
off it, too).


On Mon, 27 Sep 1999, J.H.M. Dassen (Ray) wrote:

> On Mon, Sep 27, 1999 at 10:41:13 +0300, Martin Fluch wrote:
> > I'm currently trying to compile xfree 3.3.5 under slink.
> 
> Branden has made package of at least 3.3.4 for slink; see
> http://samosa.debian.org/~branden/ (I haven't checked if the 3.3.5 tree is
> for slink as well).
> 
> > gcc -o xterm -O2 -g -ansi -pedantic     -L../../exports/lib button.o charproc.o 
> > charsets.o cursor.o               data.o doublechr.o fontutils.o input.o        
> >  menu.o misc.o print.o ptydata.o                  screen.o scrollbar.o tabs.o ut
> > il.o              TekPrsTbl.o Tekproc.o VTPrsTbl.o                main.o  keysym
> > 2ucs.o  -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11     -lncurses  -Wl,-rpath-link,
> > ../../exports/lib
> > main.o: In function `get_pty':
> > /home/mfluch/xfree/xfree86-1-3.3.5/build-tree/xc/programs/xterm/main.c:1960: und
> > efined reference to `openpty'
> 
> nm --defined-only --dynamic --print-file-name /usr/lib/lib*.so* \
> 	/usr/X11R6/lib/lib*.so* | grep 'openpty'
> will show you that you need to add '-lutil' to the link line. It's quite
> tricky to tell xterm what type of PTY functions to use and where to find
> them.
> 
> HTH,
> Ray
> 

-- 
If the box says 'Windows 95 or better', it should run on Linux, right?
                                                               - anonymous


Reply to: