makefile errors


 
Thread Tools Search this Thread
Top Forums Programming makefile errors
# 1  
Old 02-19-2008
makefile errors

We are trying to compile an interface from our ERP to vertex tax package. We need to do this in C.
We are on solaris 9 going to oracle 9i on aix.
When we run our makefile we are getting this error

Fatal error -- Assertion failed: file "../src/ild-args.c" line 1613 Exiting

Any help appreciated.
Thanks!
# 2  
Old 02-19-2008
That is the error assert() generates in almost all implementations of C.

I don't know what the problem is, but this is a basic start.

You can run make -d <makefile name>, which will give you reams of diagnostic output, because this is a make runtime error, not a compile error. As a wild guess, you probably have solaris make syntax AIX's make doesn't like. i.e., the parser accepts it but the backside barfs on it. IS your version of AIX make patched to rev level?
# 3  
Old 02-19-2008
I'm not sure that its getting that far that its looking at the oracle environment. The environment is most likely up to date. We use it already for an application on the same solaris server. Just not through a C interface.
We'll give the diagnostics a shot. I am really not familiar with C. any good web pages ?
# 4  
Old 02-19-2008
I think I did a bad job of explaining.

The problem is in the commands given to the make utility. The make utility is throwing an error because it is choking on the input command stream. make -d will show you which line in your makefile causes the problem. I hope. It could be something as simple as a source or object file that got accidentally renamed to be like one of its neighbors.

What you need is a good book on make - Oreilly has one. The forums has an Oreilly link on the home page.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

MakeFile

Hey everybody, This may be stup*d question for you, but i am new in unix and i wonder how can i make the rules for translating and linking my .c "primjer1.c", "primjer2.c" and "primjer3.c" in makefile. Thank you. (7 Replies)
Discussion started by: jskako
7 Replies

2. Homework & Coursework Questions

Help with Simple Multi-Level Makefile (Extremely New at Makefile)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies

3. Shell Programming and Scripting

Capture makefile errors in shell script

Hi, I have a bash script which calls a few "make". I would like to know whether the makefile failed with any errors. How do I do that in the script? Thanks, S (2 Replies)
Discussion started by: suryaemlinux
2 Replies

4. Shell Programming and Scripting

Help with makefile

I made a simple makefile and can't figure out why it is getting an error. It is actually getting two separate errors but I believe the second is a result of the first. Here is my makefile myProgram: main.o employee.o address.o g++ -o main.o employee.o address.o main.o: main.cpp... (2 Replies)
Discussion started by: zero3ree
2 Replies

5. UNIX for Advanced & Expert Users

Makefile executing another Makefile first?

I have 2 libraries in 2 different directories that I build with Makefiles. library B depends on library A. If I modify a .cpp file in library A and run lib B's Makefile can I have B's makefile to automatically rebuild library A? I am now rebuilding A, followed by B... but I'd like B to... (0 Replies)
Discussion started by: wwuster
0 Replies

6. UNIX for Advanced & Expert Users

Makefile problem - How to run module load in a Makefile

Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error: make: module: command not found Why is this? Is there any way to run this command in a Makefile? NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
2 Replies

7. UNIX for Dummies Questions & Answers

Forcing Makefile to Ignore Errors

Is there A way I can Force a makefile to ignore errors? i believe it is using gcc. i have a set of commands in the makefile that i want to run and each time the makefile gets to the point of this commands, it aborts because of the commands. how can i get the makefile to keep running... (3 Replies)
Discussion started by: SkySmart
3 Replies

8. UNIX for Dummies Questions & Answers

Major OS errors/Bash errors help!!!!

Hi all, dummy here.... I have major errors on entering the shell. On login I get: -bash: dircolors: command not found -bash: tr: command not found -bash: fgrep: command not found -bash: grep: command not found -bash: grep: command not found -bash: id: command not found -bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies

9. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

10. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
Login or Register to Ask a Question