MATLAB Answers

Using remoteBuild to build on Linux (Beagleboard-XM/Angstrom target)

1 view (last 30 days)
Frazer
Frazer on 16 Dec 2011
Hi all,
I have a problem with remoteBuild and building my Simulink model on my Beagleboard-XM running the Angstrom Linux distribution.
My problem is that once I call remoteBuild(), MATLAB returns the following error:
remoteBuild(s.buildInfo, '/home/root', '192.168.137.226', 'root', '', 'C:\Program Files\PuTTY')
### Adding sources to archive
### Adding include files to archive
### Adding libraries to archive
### Creating remote project directory
### Creating file archive
### Copying archive to remote target
### Extracting archive on remote target
### Building executable on remote target
make: Entering directory `/home/root/ertModel_eclipseide'
cc -o .o
cc: no input files
make: *** [.o] Error 1
make: Leaving directory `/home/root/ertModel_eclipseide'
??? Error using ==>
remoteBuild>executeRemoteCommand at 198
Error executing SSH command: make: Entering
directory `/home/root/ertModel_eclipseide'
cc -o .o
cc: no input files
make: *** [.o] Error 1
make: Leaving directory
`/home/root/ertModel_eclipseide'
Error in ==> remoteBuild at 123 executeRemoteCommand(cmd, true);
I opened the remoteBuild *.m file and read the command being sent to the target as the following:
make -C /home/root/ertModel_eclipseide -f _ertModel.mk build
which is received by the target.
I think it has something to do with the makefile but I'm not sure what to do.
Has anyone come across this problem too?
Regards,
Frazer
p.s. I also have the full gcc toolchain installed on the target, so I don't think that's the problem either.

  2 Comments

Kaustubha Govind
Kaustubha Govind on 16 Dec 2011
Perhaps you could look into the generated makefile _ertModel.mk and see how the "cc" commands are specified, and whether there could be cause for error?
Avadhut
Avadhut on 17 Dec 2011
Hi Frazer,
I had same problem. I was using kernel 2.6.31.But Mathworks supports only to Kernel 2.6.29.Try that one.

Sign in to comment.

Answers (1)

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer on 27 Aug 2012
You might take a look at the new Simulink support for BeagleBoard hardware. Keep in mind that installing this support automatically installs a customized version of Ubuntu on the BeagleBoard.

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by