Subject:
|
Re: LegOS: Crosscompiler problem
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Thu, 19 Oct 2000 15:05:45 GMT
|
Viewed:
|
1118 times
|
| |
| |
Sorry to not respond earlier, Niels. It looks like the .rpms I linked to
are slightly broken :| If you do not have permission to write to
/usr/lib/legOS/ (which is probably the case, given what I know about the
default permissions in /usr/lib/ in RedHat) it may be impossible to
compile legOS. You are probably better off copying legOS to your home
directory, changing LEGOS_ROOT, and trying again. Sorry about that
confusion- I'll try to make it more clear in the HOWTO.
Luis
On Tue, 17 Oct 2000, Niels Sandholt Busch wrote:
> I followed the HOWTO, my system is redhat 7.0, I've installed the rpm's
> that you link to from the howto.
>
> The Makefile.common has:
> # Hitachi H8 tool prefix
> TOOLPREFIX=/usr/bin/h8300-hitachi-hms-
>
> # legOS root directory
> LEGOS_ROOT=/usr/lib/legOS/
>
>
> The /usr/bin/ directory contains these files among others:
> [niels@localhost bin]$ ls | grep h8300
> h8300-hitachi-hms-addr2line
> h8300-hitachi-hms-ar
> h8300-hitachi-hms-as
> h8300-hitachi-hms-c++
> h8300-hitachi-hms-c++filt
> h8300-hitachi-hms-coffdump
> h8300-hitachi-hms-g++
> 8300-hitachi-hms-gasp
> h8300-hitachi-hms-gcc
> h8300-hitachi-hms-ld
> h8300-hitachi-hms-nm
> h8300-hitachi-hms-objcopy
> h8300-hitachi-hms-objdump
> h8300-hitachi-hms-ranlib
> h8300-hitachi-hms-readelf
> h8300-hitachi-hms-size
> h8300-hitachi-hms-srconv
> h8300-hitachi-hms-strings
> h8300-hitachi-hms-strip
> h8300-hitachi-hms-sysdump
>
>
> Here is what i get when running 'make rover.c':
>
> [root@localhost code]# make rover.c
> Makefile:40: .depend: No such file or directory
> makedepend *.c -Y -I/usr/lib/legOS/include -I. -f- |
> /usr/lib/legOS/util/fixdeps /usr/lib/legOS/kernel/ > .depend
> nknown option '-Y' ignored
> /usr/lib/legOS/include/conio.h:41: config.h: No such file or directory
> /usr/lib/legOS/include/time.h:32: config.h: No such file or directory
> helloworld.c:9: arguments given to macro `cls'
> /usr/lib/legOS/include/conio.h:41: config.h: No such file or directory
> /usr/lib/legOS/include/time.h:32: config.h: No such file or directory
> /usr/lib/legOS/include/dsensor.h:29: config.h: No such file or directory
> /usr/lib/legOS/include/dmotor.h:29: config.h: No such file or directory
> /usr/lib/legOS/include/dsound.h:30: config.h: No such file or directory
> /usr/lib/legOS/include/conio.h:41: config.h: No such file or directory
> /usr/lib/legOS/include/time.h:32: config.h: No such file or directory
> /usr/lib/legOS/include/dsensor.h:29: config.h: No such file or directory
> /usr/lib/legOS/include/dmotor.h:29: config.h: No such file or directory
> make: Nothing to be done for `rover.c'.
>
>
> Sorry for the long posting. Can you tell what is wrong? Maybe tell me what
> to do?
> It seems like there is no .depend file, and a problem with including
> config.h .
>
> Thanks.
>
> Regards
>
> Niels Sandholt Busch
>
>
>
-----------------------------------------------------------------------
"It's clear to us that Microsoft isn't the competition anymore.
They are our environment."
WordPerfect manager, talking about Word
-----------------------------------------------------------------------
|
|
Message has 1 Reply: | | Re: LegOS: Crosscompiler problem
|
| (...) ^^^...^^^ (...) The problem is with your makedepend; it doesn't accept the option '-Y' and therefore doesn't generate the .depend file. Please post the output of: which makedepend and rpm -qf `which makedepend` Regards, Hakan (24 years ago, 20-Oct-00, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|