- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm getting the following errors when I run my code:
make
ifort -Wall -Werror -fbounds-check -w -o exec Ptc4l.for IOT4D404.FOR incomm.inc PTCCOM.in
c
ipo: warning #11010: file format not recognized for incomm.inc
ipo: warning #11010: file format not recognized for PTCCOM.inc
ld:incomm.inc: file format not recognized; treating as linker script
ld:incomm.inc:1: syntax error
make: *** [exec] Error 1
I'm just looking for a little guidance as to what these warnings mean and how to go about fixing them. Thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compiler does not understand the .inc suffix. Notice it passed the files to the linker. Your include files are not provided on the compiler's command-line but rather included via INCLUDE or #include (w/ pre-processing).

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page