Rockbox Development > Starting Development and Compiling
Testing build on pc not player
bluebrother:
--- Quote from: saratoga on September 12, 2007, 06:12:54 PM ---You can use make zip too. I didn't realize install was an option, I always do 'make zip; unzip -o rockbox.zip -d archos' which works as well.
--- End quote ---
Well, you can use "make zip" too -- but you need to remember to unzip the file to the correct location. So while it works the advertised method should be "make install" ;) (and the steps LambdaCalculus379 posted at first didn't contain the unzip step, so they wouldn't work correctly)
LambdaCalculus:
--- Quote from: bluebrother on September 12, 2007, 06:21:46 PM ---the steps LambdaCalculus379 posted at first didn't contain the unzip step, so they wouldn't work correctly)
--- End quote ---
I was typing that in while at work. Unfortunately, I have too many cases of "prying eyes" popping into my workspace, so I have to constantly minimize my browser session. In some cases, I just submit something, but forget that one vital piece of information that is needed to make it complete.
DefineByte:
--- Quote from: dkarma on September 12, 2007, 02:36:35 PM ---i used the make > error command and it stopped on the line
LD rockboxui.exe
but didn't print the actual error output
the command did output the error message to the screen in cygwin but not the file
--- End quote ---
Are you still having trouble with this? Try:
--- Code: ---make 2>&1 | tee -a log.txt
--- End code ---
I always get an error with 'make install'. Don't know why. Might be a Cygwin thing (but then, I always blame Cygwin).
dkarma:
Thanks DefineByte that command finally outputted the error message to the file and here's what i get:
LD rockboxui.exe
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: /home/meltdown/rockbox/build/apps/language.o: Relocations in generic ELF (EM: 40)
/home/meltdown/rockbox/build/apps/language.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [/home/meltdown/rockbox/build/rockboxui.exe] Error 1
make: *** [build] Error 2
I opted to just move the new .rockbox folder onto my sansa and backup my old one to test new builds...takes less time than figuring out the simulator errors but I'm sure someone else is probably having this problem too so thanks for all your help everyone.
I'm not a huge linux buff, but I'm guessing from this error that the LD program doesn't like the format of the language.o file when trying to compile rockboxui.exe.
And yes the make zip step isn't necessary when compiling a simulator build (at least not according to the compiling and simulator page here on RB.org.)
bluebrother:
Have you done a build for the target in that folder before? Be aware that compiling the sim creates completely different binaries than compiling the simulator. If you have old object files from an older, target build in the same folder it will create error.
Either run "make clean" first or (the only way I consider a solution) use a completely different folder for building the sim.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version