Re: installfromsource problems...
List,
here are my patch files to /usr/include/bits/string2.h and
$EMCROOT/rcslib/src/posemath/Makefile.lib to be able to generate the
binary object files.
I'm not sure if this is causing my machine to hangup whenever I issue
a command on the MDI or Auto mode. since it works sometimes and it does
not most of them.
regards.
esv
#########
change to /usr/include/bits
and patch -p1 < $yourhome/string_patch
now change to $YOUR_EMC_ROOT (right above rcslib and emc)
patch -p1 < patchMakelib
--- Matt Shaver <mshaver-at-erols.com> wrote:
>
>
> 1. I did an anonymous cvs get today (20 Nov 01 at about 13:52 EST) of
>
> rcslib and emc.
>
> 2. I tarred up both modules, copied them to floppys, and untarred
> them
> on the target machine in /usr/local/rcslib and /usr/local/emc.
>
> 3. I then copied /usr/local/emc/scripts/generic/installfromsource to
> /usr/local/installfromsource, and:
> cd /usr/local
> ./installfromsource
>
> 4. I got the following errors:
>
> a. From the script itself (at the beginning, right after it asks the
> RTL
> VERSION question):
> cat: emc/emcversion.generic: No such file or directory
> sed: -e expression #1, char 60: Unknown option to 's'
>
> b. From rcserr.log
> In file included from /usr/include/string.h:340,
> from rtlnml.c:67:
> /usr/include/bits/string2.h:873: redefinition of `strnlen'
> /usr/include/asm/string.h:390: `strnlen' previously defined here
> make[1]: *** [/usr/local/rcslib/plat/linux_2_2_18/lib/rtlnml.o] Error
> 1
> make: *** [/usr/local/rcslib/plat/linux_2_2_18/.cmsbuild] Error 2
> make: *** No rule to make target
> `/usr/local/rcslib/plat/rtlinux_3_0/lib/sincos.o', needed by
> `/usr/local/rcslib/plat/rtlinux_3_0/lib/librcsd.a'. Stop.
>
> 5. At the end it said:
> #
> Some errors and most warnings can be ignored.
> When in doubt, post a question to the emc-at-nist.gov email list.
> #
> If the RCS library built sucessfully enter y to continue.
> Continue? (y/n)
>
> I said "n", and being "in doubt", decided to "post a question to the
> emc-at-nist.gov email list" ;) .
>
> 6. System info is:
> BDI 2.09 (http://www.yty.net/cnc/bdiemc209-01.img)
> linux_2_2_18
> rtlinux_3_0
>
> HELP!
>
> Matt
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--- nist/rcslib/src/posemath/Makefile.lib Thu Nov 22 15:19:50 2001
+++ rnist/rcslib/src/posemath/Makefile.lib Sat Nov 24 21:55:38 2001
-at--at- -14,8 +14,7 -at--at-
LIBRCS_OBJS := $(LIBRCS_OBJS) \
- _posemath.o \
- sincos.o
+ _posemath.o
else
--- bits-orig/string2.h Sat Nov 24 22:24:10 2001
+++ bits/string2.h Thu Nov 22 14:48:09 2001
-at--at- -1022,12 +1022,14 -at--at-
#if defined __USE_GNU && !defined _FORCE_INLINES
# ifndef _HAVE_STRING_ARCH_strnlen
+#ifndef __HAVE_ARCH_STRNLEN
__STRING_INLINE size_t
strnlen (__const char *__string, size_t __maxlen)
{
__const char *__end = (__const char *) memchr (__string, '\0', __maxlen);
return __end ? (size_t) (__end - __string) : __maxlen;
}
+#endif /* __HAVE_ARCH_STRNLEN */
# endif
#endif
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact