There are two known problems with the beta refresh of the Shared Source
CLI
building and running on FreeBSD 4.7. One is a build problem and the
other
is a change to the behavior of the glob(3) function.
These changes should only be applied to the sscli_20020619.tgz (beta
refresh) distribution and are subject to the Shared Source CLI license
which
can be found in license.txt in the root directory of the distribution.
The changes are available for redistribution under the same license in
effect for the Shared Source CLI.
Build Problem
-------------
There appears to be a change to how the -R flag is treated by ld. The
SSCLI
build didn't really require this flag so simplifying the makefile should
fix
the build problems.
Steps to fix the build problem:
1. Open the file: sscli/pal/unix/makefile.in.
2. Find the following line in makefile.in:
-o "$(MODULE_PATH)$(MODULE_NAME)" -lc_r -lm -Wl,-R,/usr/lib/crt1.o
3. Change the end of this line from:
-Wl,-R,/usr/lib/crt1.o
to:
/usr/lib/crt1.o
It is important to retain the leading tab on the line so only modify
the
end of the line.
5. Save the file and proceed to the glob(3) fix below.
glob(3) Problem
-------------------
A change to glob(3) that appears to have made it more POSIX-compliant
changed the behavior of the FindFirstFileA/W functions in the PAL. The
fix
for this problem is fairly extensive but constrained to a single file
which
needs to be replaced.
To fix this problem, replace the file at sscli/pal/unix/file/find.c with
the
version of find.c that can be found at news:OhrJX#heCHA.1748@;tkmsftngp09
or email [EMAIL PROTECTED] and request to be sent the patched file.c
as an attachment.
After replacing the file, rebuild the SSCLI distribution using the
buildall script with the -c option.
--
This posting is provided "AS IS" with no warranties, and confers no
rights.