wufuyue / yaffs2utils

Automatically exported from code.google.com/p/yaffs2utils
GNU General Public License v2.0
1 stars 3 forks source link

Error during make #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make 

What is the expected output? What do you see instead?
mkyaffs2.c:111: error: ‘YAFFS_UNUSED_OBJECT_ID’ undeclared (first use in 
this function)

What version of the product are you using? On what operating system?
Ubuntu 10.04 - 2.6.32-23-generic

Please provide any additional information below.

Original issue reported on code.google.com by magostin...@gmail.com on 17 Jul 2010 at 3:13

GoogleCodeExporter commented 8 years ago
Dear magostinelli:

1. Would you try to modify the YAFFS2DIR in the top level Makefile?
2. Would you give me the version of YAFFS2 source and yaffs2utils?

Thanks

Original comment by penguin.lin on 20 Jul 2010 at 2:44

GoogleCodeExporter commented 8 years ago
1. Yes, i modified YAFFS2DIR.

2. yaffs2utils is the lastest, downloaded when i opened this issue. yaffs2 is 
the lastest version downloaded on 2010-07-17.

Original comment by magostin...@gmail.com on 20 Jul 2010 at 7:02

GoogleCodeExporter commented 8 years ago
It seems some definitions changed in the latest version of yaffs2.
The attached patches may solve your problem temporarily.

Thanks for your reply!

Original comment by penguin.lin on 21 Jul 2010 at 1:22

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by penguin.lin on 21 Jul 2010 at 3:33

GoogleCodeExporter commented 8 years ago
Dear magostinelli:

Would you kindly tell me whether the previous patches solved your problem or 
not?
I want to release a new revision to solve the current problems!

Thanks a lot!

Original comment by penguin.lin on 22 Jul 2010 at 12:58

GoogleCodeExporter commented 8 years ago
I have tried on my home pc, when i come back to home i try the patch.

Regards.

Original comment by magostin...@gmail.com on 22 Jul 2010 at 1:01

GoogleCodeExporter commented 8 years ago
I'm sorry, but yesterday i have no much time to try the patch. Maybe i will try 
tomorrow.

Regards.

Original comment by magostin...@gmail.com on 23 Jul 2010 at 6:24

GoogleCodeExporter commented 8 years ago
Very good!!! Patch is working!

Please note: after make the compiled file is in the src directory, can you move 
in the same path as the Makefile?

Regards.

Original comment by magostin...@gmail.com on 23 Jul 2010 at 7:28

GoogleCodeExporter commented 8 years ago
Dear magostinelli:

It sounds like a good idea. How about add a rule in the Makefile to install 
binaries into a path specified by users? I thinks it will be also good.

Anyway, thanks for your reply & suggestion.

Best Regards.

Original comment by penguin.lin on 24 Jul 2010 at 12:47

GoogleCodeExporter commented 8 years ago
Fixed in r8.

Original comment by penguin.lin on 28 Jul 2010 at 8:54