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

Undefined Reference to __fixunsdfdi

andy_geodev
Beginner
1,410 Views

We have a rather large software product, mostly in c but with some fortran for nic. I have the latest intel compiler (9.0) running on Suse 9.3. I am doing a build of the entire system on a P4 and get a message;

undefined reference to `__fixunsdfdi'

for one of the c routines. The link step is done with ifort. As a reality check, I did a fresh build with the pgf77 compiler, using pgf77 to do the link as well, and everything compiled and linked fine.

My libgcc.a is in the following directory;

/usr/lib/gcc-lib/i586-suse-linux/3.3.5

I'm not very good at makes, but one of the systems guys sucked the fixunsdfdi routine out of libgcc.a and put it in a separate .a file, and the makes ran. This seems unnatural to me, especially since the pgf77 attempt didn't need it.

We were able to specify the libraries in a normal way for the linker so that fixunsdfdi would be resolved, but in that case we got a doubly defined error for modi (or something like that, I can't recall (it was yesterday)).

I read this forum and the manual, and can't figure out how to specify the libraries. If someone could give me a clue, I would appreciate it.

0 Kudos
2 Replies
andy_geodev
Beginner
1,410 Views
We also had to extract the __fixunssfdi.o and put it into the .a file. The system was able to built after we included the library with the two missing files.

I hope Intel will add those modules to their link-time library in the near future.
0 Kudos
Steven_L_Intel1
Employee
1,410 Views
If you experienced this problem, please report it to Intel Premier Support. That's the best way to ensure it will be seen by the people who can do something about it.
0 Kudos
Reply