Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

LNK1169: one or more multiply defined symbols found

Alex_K_6
Beginner
3,807 Views
I'm trying to compile Firefox for Windows using the Intel compiler. I've managed to compile everything fine up until this point:
http://i44.tinypic.com/3010vue.png
From what I've gathered/been told, multiple copies of the CRT are being linked. I've tried setting the library to be used as the one given in -LIBPATH:C:\\Intel\\Composer XE 2011 SP1\\compiler\\lib\\intel64
but MINGW32 doesn't deal well with spaces and keeps returning errors.
So that didn't work. I'm not quite sure what else I can do?
If it helps I'm using the 30 day trial of Intel Composer XE 2011 SP1 Update 7.
0 Kudos
46 Replies
SergeyKostrov
Valued Contributor II
378 Views
Quoting xunxun
It's strange.

pcxfirefox is my one project, and I use my wiki guide to build firefox 10 successfully.
...

Thanks for the response and as you can see this is a long story.

What ICL version do you use?
0 Kudos
xunxun
Beginner
378 Views
It seems it's 12.1.2.278 in my wiki, I think it's icc12 update8.

I have built the edition some days ago, so I forgot it ...
0 Kudos
SergeyKostrov
Valued Contributor II
378 Views
Alex had a couple of Linker errors, like:

- LNK1169 - One or more multiply defined symbols found
- LNK4098 - Defaultlib 'library' conflicts with use of other libs; use /NODEFAULTLIB:library
- LNK2005 - Symbol already defined in object

Note: Take a lookat aPost #33.

What do you think?

Did you make any changes in make files,in environment variables, etc?

Best regards,
Sergey
0 Kudos
xunxun
Beginner
378 Views
Alex had a couple of Linker errors, like:

- LNK1169 - One or more multiply defined symbols found
- LNK4098 - Defaultlib 'library' conflicts with use of other libs; use /NODEFAULTLIB:library
- LNK2005 - Symbol already defined in object

Note: Take a lookat aPost #33.

What do you think?

Did you make any changes in make files,in environment variables, etc?

Best regards,
Sergey

No, I have not encounted it.

I only modify like https://code.google.com/p/pcxfirefox/wiki/MozillaBuiltICC#Step_1_Patch_start-msvc_.bat and https://code.google.com/p/pcxfirefox/wiki/MozillaBuiltICC#Step_2_Patch_Mozilla_source_Makefile

I have no idea how the issues came out.

If you give me all output information, maybe I will find it out.

0 Kudos
SergeyKostrov
Valued Contributor II
378 Views
Quoting xunxun
...If you give me all output information, maybe I will find it out.


Sorry, I wassimply helping 'Alexboy94' to resolve some linking issues and the same applies to many other
users responded to his initialpost. I hope hewill respond ifinterested.

Best regards,
Sergey

0 Kudos
Reply