Subject: cross-compile probs
To: None <>
From: Tyrel Beede <>
List: current-users
Date: 02/14/2001 22:45:36
I'm not sure if this is the proper list to address these problems to but
I'll give it a try...

Setup:  I'm working on getting my source tree cross-compiled for the
dreamcast port, however, I'm reaching some difficulties along the way.
The toolchain I'm using is for coff binaries and is the one found in the
pkgsrc/cross dir.

1.  When doing a <build-script obj build>(build-script is the name of
the script which sets the right vars for and then triggers make) it
fails at two spots and I'm not sure why:

    a.   dependall ==> libexec/kadmind -- this fails informing me that
the file password_quality.o cannon resolve referances to
dlopen/dlsym/dlclose.  I'm not too sure but I didn't think these
functions needed a lib(from what I got from the man page)  in that case
how can I determine how to resolve this problem?  Really, should they be
linked to something?

    b.   Just to keep things moving I changed the makefile for libexec
and removed the offending items, after which I ran into another
problem.  dependall ==> gnu/usr.bin/egcs/common fails at the file expr.c
informing me of some odd assmebler stuff which leaves me in the dark.
It says Error signed .word overflow: switch may be too large?

This is where I'm at right now,  Thanks...