Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29273 Discussions

ipo: warning #11010 on Include files

Kate_Johnson
Beginner
772 Views

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

0 Kudos
1 Reply
Kevin_D_Intel
Employee
772 Views

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).

0 Kudos
Reply