Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - ml3196390801

#1
I'm new to ML development, but from what I understand, ML uses its own custom stdio.c.

I'm also trying to use an official pre-packaged embedded-Debian arm toolchain, but the most recent version is for gcc-4.4.

So, I'm getting a lot of errors like this:

error: NULL undeclared (first use in this function)

Can the stdio-related macros be updated so that they will compile with an older version of gcc?

I've already compiled ML2.3 successfully using the arm toolchain for gcc-4.6.2, but as I mentioned, the most recent version of gcc for embedded Debian is gcc-4.4.

I think if Debian/Ubuntu people were able to easily install a pre-packaged Debian version of the arm toolchain, it might help spur development from that side of the aisle.
#2
I'm trying to get things to compile on a Debian system for the first time, but I have a few issues. I don't want to brick my camera, so I am asking out of an abundance of caution:

1. Are there any Debian/Ubuntu repositories for the arm toolchain that people are using with success? I think it would be helpful to include platform-specific instructions in the README files.

2. The toolchain/summon-arm script is looking for patch-gcc-4.6.2-config-arm-t-arm-elf.diff in the wrong place.

3. doc/menuindex.py is complaining about "Could not open menuindex.txt". What should I do about this? Is this safe to ignore, or is it a fatal error?

4. doc/menuindex.py is complaining about "mkdir: cannot create directory `cam': File exists". What should I do about this? Is this safe to ignore, or is it a fatal error?

5. ld is complaining about "stat: cannot stat `autoexec.bin': No such file or directory", but then I objcopy creates an autoexec.bin file. What should I do about this? Is this safe to ignore, or is it a fatal error?

Thanks