# I am new to gradle,I have a build log which was generated by using makefile and now by using that buildlog we are converting makefile into gradle but when i am building the gradle file i was unable to generate ".sm" file

**URL:** https://discuss.gradle.org/t/i-am-new-to-gradle-i-have-a-build-log-which-was-generated-by-using-makefile-and-now-by-using-that-buildlog-we-are-converting-makefile-into-gradle-but-when-i-am-building-the-gradle-file-i-was-unable-to-generate-sm-file/19601
**Category:** Help/Discuss
**Tags:** plugins
**Created:** [September 19, 2016, 11:46am UTC](https://discuss.gradle.org/t/i-am-new-to-gradle-i-have-a-build-log-which-was-generated-by-using-makefile-and-now-by-using-that-buildlog-we-are-converting-makefile-into-gradle-but-when-i-am-building-the-gradle-file-i-was-unable-to-generate-sm-file/19601 "2016-09-19T11:46:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Balamurali](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@Balamurali](https://discuss.gradle.org/u/Balamurali)
#### Post date: [September 19, 2016, 11:46am UTC](https://discuss.gradle.org/t/i-am-new-to-gradle-i-have-a-build-log-which-was-generated-by-using-makefile-and-now-by-using-that-buildlog-we-are-converting-makefile-into-gradle-but-when-i-am-building-the-gradle-file-i-was-unable-to-generate-sm-file/19601/1 "2016-09-19T11:46:53Z")

</div>

The below is the build log for the make file build:

ldppc -X -defsym start\_address=0x300  
-defsym section\_size=0x100  
-defsym data\_size=0x100  
-T \workdir/bin/app.lds  
-Map app.map -e  
0xffffffff -o [app.sm](http://app.sm)  
[app.pm](http://app.pm)

This is conversion of build log to gradle file:

commandLine ld, “-X”,  
"-defsym", “start\_address=0x300”,  
"-defsym", “section\_size=0x100”,  
"-defsym", “data\_size=0x100”,  
"-T", ldspath + “/app.lds”,  
"-Map", Paths.get (path, “app.map”).getAbsolutePath (),  
"-e", “0xffffffff”,  
"-o", Paths.get (path,“[app.sm](http://app.sm)”).getAbsolutePath (),  
Paths.get (path,“[app.pm](http://app.pm)”).getAbsolutePath ()

I was unable to generate [app.sm](http://app.sm) by using above gradle script.kindly help me.
