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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  makefile appearing in different folder
« previous next »
  • Print
Pages: [1]

Author Topic: makefile appearing in different folder  (Read 2809 times)

Offline L

  • Member
  • *
  • Posts: 145
makefile appearing in different folder
« on: October 05, 2006, 09:21:42 AM »
Here is the scenario.

I have a folder calle build inside the rockbox source folder which is name rockbox-devel.

So build is at rockbox-devel/build

Using cygwin, I navigated to the build folder

Typed ../tools/configure and entered in 21 for the Ipod Nano.

It then proceeds and says Makefile created.

However, makefile does not appear in my build folder. Instead it appears in rockbox-devel.

Typing make gets me the error - No makefile found

How do I fix this?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: makefile appearing in different folder
« Reply #1 on: October 05, 2006, 05:28:49 PM »
Thats very odd.  What happens if you copy the make file to the build directory?
Logged

Offline L

  • Member
  • *
  • Posts: 145
Re: makefile appearing in different folder
« Reply #2 on: October 05, 2006, 07:14:31 PM »
After copying it in, it now says

/home/Shindou: No such file or directory. Stop.

[tools] Error 2

Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: makefile appearing in different folder
« Reply #3 on: October 05, 2006, 09:25:41 PM »
Whats the full path you're running it from (pwd)?
Logged

Offline L

  • Member
  • *
  • Posts: 145
Re: makefile appearing in different folder
« Reply #4 on: October 06, 2006, 03:54:39 AM »
Hi,

the full path is /home/Shindou Hikaru/rockbox-devel/build

I guess the spacing in my home directory is causing the problem?

If I change it, will things be messed up?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: makefile appearing in different folder
« Reply #5 on: October 06, 2006, 11:44:58 AM »
I'm not sure, but I think you should probably create a user with no spaces in the name.
Logged

Offline L

  • Member
  • *
  • Posts: 145
Re: makefile appearing in different folder
« Reply #6 on: October 07, 2006, 03:20:32 AM »
Hi, I tried it out. Renaming the folders won't work as cygwin would just create another one.

The way to make it work would be to rename your Windows username to one without spacing through Control Panel - > User Accounts.

After that, run cygwin and type mkpasswd -l > /etc/passwd

After that, restart cygwin and they'll create the user that is the same name as your Windows one.

Just a reference to others who might get into the same problem!
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  makefile appearing in different folder
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.065 seconds with 15 queries.