Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Should I report errors I get while compiling?
« previous next »
  • Print
Pages: [1]

Author Topic: Should I report errors I get while compiling?  (Read 2433 times)

Offline lee321987

  • Member
  • *
  • Posts: 77
Should I report errors I get while compiling?
« on: April 21, 2008, 03:28:41 PM »
   The subject is my question.
   The last time I ran "make" in Cygwin (April 20 2008 at 7:20pm Eastern) the last three lines were:

Code: [Select]
   collect2: ld returned 1 exit status
make[1]: *** [/home/Will/rockbox/build/apps/rockbox.elf] Error 1
make: *** [build] Error 2

   Also, how can I get Cygwin to write it's results to a text file, or at least give the window more room to fill (so the top isn't truncated)?
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3488
  • creature
Re: Should I report errors I get while compiling?
« Reply #1 on: April 21, 2008, 03:33:23 PM »
Quote from: lee321987 on April 21, 2008, 03:28:41 PM
The last time I ran "make" in Cygwin (April 20 2008 at 7:20pm Eastern) the last three lines were:
Your build failed. If the build itself is fine (check the build server status page) it should work, if it doesn't the error is on your side. There's no help in reporting build errors if they are on your side. If you want to ask for assistance building that's a different story ...

Quote
Also, how can I get Cygwin to write it's results to a text file, or at least give the window more room to fill (so the top isn't truncated)?
1. change the settings of the window (click the icon on the top left)
2. use the redirecting pipe -- i.e., "make > file.txt"
Logged

Offline lee321987

  • Member
  • *
  • Posts: 77
Re: Should I report errors I get while compiling?
« Reply #2 on: April 21, 2008, 05:23:00 PM »
   Assistance.  Yes please.  Is there a Cygwin command to revert ALL of my patches at once?  Also, if I delete a file will "SVN update" download a new one?



   EDIT:  I ran "svn revert -R ." then "svn update".  Make still ends with the same error.
   does "revert -R ." revert patches AND things I changed with a text editor.
« Last Edit: April 21, 2008, 05:46:30 PM by lee321987 »
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Should I report errors I get while compiling?
« Reply #3 on: April 21, 2008, 05:24:43 PM »
Quote from: lee321987 on April 21, 2008, 05:23:00 PM
if I delete a file will "SVN update" download a new one?
Yes - and it will tell you it has done so
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9140
Re: Should I report errors I get while compiling?
« Reply #4 on: April 21, 2008, 06:31:56 PM »
do a make veryclean and then rerun tools/configure. 
Logged

Offline lee321987

  • Member
  • *
  • Posts: 77
Re: Should I report errors I get while compiling?
« Reply #5 on: April 21, 2008, 06:56:13 PM »
   Well, just before I read your post, Saratoga, I deleted everything in my 'build' dir, and then everything went well.
   Is 'make veryclean' a command.  And is there some character(s) i can type after a command to get help on it (like "/?" in DOS)?
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Should I report errors I get while compiling?
« Reply #6 on: April 22, 2008, 03:05:45 AM »
Generally with Unix programs, "-h" or "--help" will give you syntax information, though it differs from program to program.

make is a program which, basically, runs a set of commands that are stipulated in the Makefile.  You can see that "veryclean" is a target in the Makefile, which doesn't do anything itself, but depends upon the "clean" and "toolsclean" targets, causing them to be run.

Quote
veryclean: clean toolsclean

toolsclean:
   $(SILENT)$(MAKE) -C $(TOOLSDIR) clean

clean:
   $(SILENT)echo Cleaning build directory
   $(SILENT)rm -rf rockbox.zip TAGS apps firmware comsim sim lang.[ch]                  manual *.pdf *.a credits.raw rockbox.ipod bitmaps pluginbitmaps                     UI256.bmp rockbox-full.zip              html txt rockbox-manual*.zip sysfont.h rockbox-info.txt              voicefontids *.wav *.mp3 *.voice max_language_size.h

Your Makefile will be different depending on what sort of build you are making, since it is generated by the rockbox/tools/configure script.
« Last Edit: April 22, 2008, 03:07:29 AM by cool_walking_ »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Should I report errors I get while compiling?
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.031 seconds with 17 queries.