- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using IFC 8.0 for the first time and am getting the following error:
ifort -cpp -w -O2 -Vaxlib -auto -noalign bpch2_mod.f
/tmp/ifortuPIAwq.o: In function `bpch2_mod_mp_bpch2_hdr_':
/tmp/ifortuPIAwq.o(.text+0xa8): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o(.text+0xc5): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o: In function `bpch2_mod_mp_bpch2_':
/tmp/ifortuPIAwq.o(.text+0x57d): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o(.text+0x5a5): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o(.text+0x5c5): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o(.text+0x9a3): more undefined references to `ioerror_' follow
/opt/intel_fc_80/lib/for_main.o: In function `main':
/opt/intel_fc_80/lib/for_main.o(.text+0x1c): undefined reference to `MAIN__'
make: *** [bpch2_mod.o] Error 1
I checked and think that ioerror is not part of the Vaxlib library. Does anyone know what the problem could be?
Thanks, Bryan
ifort -cpp -w -O2 -Vaxlib -auto -noalign bpch2_mod.f
/tmp/ifortuPIAwq.o: In function `bpch2_mod_mp_bpch2_hdr_':
/tmp/ifortuPIAwq.o(.text+0xa8): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o(.text+0xc5): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o: In function `bpch2_mod_mp_bpch2_':
/tmp/ifortuPIAwq.o(.text+0x57d): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o(.text+0x5a5): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o(.text+0x5c5): undefined reference to `ioerror_'
/tmp/ifortuPIAwq.o(.text+0x9a3): more undefined references to `ioerror_' follow
/opt/intel_fc_80/lib/for_main.o: In function `main':
/opt/intel_fc_80/lib/for_main.o(.text+0x1c): undefined reference to `MAIN__'
make: *** [bpch2_mod.o] Error 1
I checked and think that ioerror is not part of the Vaxlib library. Does anyone know what the problem could be?
Thanks, Bryan
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On the face of it, it looks like you left something out. The linker says you didn't provide a main program, and it certainly looks like your application may have had a function named ioerror, or it may be an extension provided by some vendor's Fortran library.

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