GNU make - map file not created - makefile

Below is an image of a make file which executes with no errors,
but no map file is created. Am I missing something out?
Thanks, Amitai

The map file wasn't generated due to typo (LDFAGS instead of LDFLAGS),
thanks to G.M. for Detection.

Related

cypress:Allow reading non-existent files in cy.readFile

I have dropdown with many items which is coming from an other module first column.
so,Those column value is created dynamically.I am trying to write those column values in JSON file so that i can click on the dropdown item without hardcoding.Before writing I am reading file using readfile() but that file does not exist for the first time so how to check if cypress/fixtures/xxx.json file exist before writing into it.Any help is appreciated.Thanks in advance.
I'm facing a similar issue and I see that cy.readfile() fails if file doesn't exist so cypress docs suggests using cy.task() to read a file that may not exist and I think we can use cy.task() so that if the file doesn't exist we create an empty file, this is the idea and I'll try implementing it and share code.
Reference

datastage parameter for file directory not working

I am creating an extract from sequential file. I created a parameter with the correct file location and when I try to "View Data", it says it can't find the file. If I hard code the location it finds the file and I am able to "View Data".
example:
#filedirectory# = aaa/bbb/ccc/
so my entry for "File" is #filedirectory#filename.txt and this does not work
however, the following does work
aaa/bbb/ccc/filename.txt
Any ideas what would cause this?
Try using the absolute path. Start with a / and the root directory.
Second point is that the parameter itself does not have "#". The "#" are only needed to reference it - in the Sequential File stage. So name it filedirectory when you define it in the job.
Recommendation:
As filedirectory will probably be used throughout your project I recommand using a ParameteSet.
I had the same issue, and it happened I forgot to include the directory parameter before the file parameter. Hope this information helps someone.

Shell Code inside a jpg file

I have seen that it may be possible to run shell code in a jpg file. Is this true?
I just want to start cmd through a jpg.
Or are there any other extensions where this would be possible?
Thank you!
Yes, it is possible to do what you asked, eventually all file types are just a set of binaries, if you know and control the format, you can basically do anything you want. It is a low level implementation and requires deep knowledge of the format, header and execution type.
For further reading I recommend you this article:
http://archive.cert.uni-stuttgart.de/bugtraq/2004/09/msg00316.html

$_SESSION as a local variable

I have a problem with a $_SESSION. I do a POST and i modify the value of $_SESSION['lang'] but this modification is only local (my var_dump($_SESSION); has the good value), but out of this file my variable didn't change.
Do you have any ideas for resolve this problem?
Thanks
I'm not entirely sure I got what you mean by "out of this file". If $_SESSION['lang'] didn't change in files you included in your script then probably you have included those files before you operated the change on $_SESSION['lang']?

Dynamically saving file location

I have an asp.net app and I am trying to save a text file to a folder that changes with each client. How can I write it to save the files to a folder that changes. For example one customer might be C:\inetpub\wwwroot\site1\ another might be C:\inetpub\wwwroot\site2.
Relative paths don't seem to work, and I've tried GetCurrentDirectory but it kept giving me the wrong directory.
Thanks
You should try :
In the *.aspx.cs file :
string currentPath = Server.MapPath("~");
I don't have the tools to test here, but I think the code is right.
Take a look at Path.GetDirectoryName(Request.ServerVariables("SCRIPT_NAME")).
You should add a value to the web.config file which is set to the path where the file is saved.
Then, in you code, retrieve this value from the documentation, and use that path when saving.

Resources