- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Intel forum,
I am using the icc 17.0.1 for compile several ccp codes onto object then linker on a executable. Some odd thing is happening, if i use the follow lines to linker to a executable :
icc in_boundary.o in_gfmd.o in_integration.o in_print.o in_rand.o in_util.o in_forces.o in_init.o in_namelist.o in_prop.o in_singlestep.o main.o -o gfmd
icc -o gfmd in_boundary.o in_gfmd.o in_integration.o in_print.o in_rand.o in_util.o in_forces.o in_init.o in_namelist.o in_prop.o in_singlestep.o main.o
and insert any argument like -lm or even libs dont even exists like -lasdf the compiler ignores all the -l information generating several "undefined reference to"
Please, what is wrong ? There is necessary argument ?
Best regards.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Fabio
Could you be more specific on what "undefined reference to" errors you got? Does those link errors also exist when you don't use -l option?
Or it only happens when some unknown -l option is used?
Thanks.

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