Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Problems building op_hostlist from CVS...
Posted by: MonkeeSage
Date: March 14, 2003 04:10AM

Compiler / Linker output:

--------------------Configuration: op_hotlist - Win32 Release--------------------
Linking...
Creating library Release/hotlist.lib and object Release/hotlist.exp
op_plugin.obj : error LNK2001: unresolved external symbol "void __cdecl quicksort(char *,unsigned int,unsigned int,int (__cdecl*)(char const *,char const *,unsigned int),unsigned int)" (?quicksort@@YAXPADIIP6AHPBD1I@ZI@Z)
op_utils.obj : error LNK2001: unresolved external symbol "void __cdecl quicksort(char *,unsigned int,unsigned int,int (__cdecl*)(char const *,char const *,unsigned int),unsigned int)" (?quicksort@@YAXPADIIP6AHPBD1I@ZI@Z)
op_utils.obj : error LNK2001: unresolved external symbol "int __stdcall EditProc(struct HWND__ *,unsigned int,unsigned int,long)" (?EditProc@@YGHPAUHWND__@@IIJ@Z)
\projects\mozilla\mozilla\dist\WIN32_o.OBJ\Embed\kplugins\hotlist.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

hotlist.dll - 4 error(s), 0 warning(s)


I have explicitly included qsort.c in the op_hotlist project source files, and made just that qsort.obj is in the lib path...why is it telling me that its unresolved???


Shelumi`El
Jordan

S.D.G

Options: ReplyQuote
Re: Problems building op_hostlist from CVS...
Posted by: MonkeeSage
Date: March 14, 2003 04:12AM

*and made sure that qsort.obj ...

Options: ReplyQuote
Re: Problems building op_hostlist from CVS...
Posted by: ra
Date: October 10, 2004 02:03PM

Hi @all!

What's the fix for this problem?

Thanks for your help!

Options: ReplyQuote
Re: Problems building op_hostlist from CVS...
Posted by: ra
Date: October 10, 2004 02:44PM

Okay, never mind, got it.

Hint for people looking for the same thing:

- extern "C"
- add stristr.c & qsort.c to project
- Only __inline

Options: ReplyQuote
Re: Problems building op_hostlist from CVS...
Posted by: mtt
Date: January 15, 2005 10:16PM

Ok, it's always nice to learn that the dsw file that comes with seemingly _every_ version of the kmeleon source code is missing several files that would improve successful compilation a big lot ... :/

What's with the 'extern "C"' and "Only __inline" ?

Options: ReplyQuote
Re: Problems building op_hostlist from CVS...
Posted by: ra
Date: January 16, 2005 05:55PM

Cool, I don't remember how I fixed it back then and what I meant by that. *g*

I have since removed the hotlist from my project files because I have no use for them, although I was able to build the plugin.

Okay, added it for a repro now and got exactly the same error message. But the fix is quite simple, it's exactly the same that I described down there for the history plugin. Simply add the files and you're done.

Options: ReplyQuote
Re: Problems building op_hostlist from CVS...
Posted by: jsnj
Date: January 19, 2005 10:28AM

bump

Options: ReplyQuote


K-Meleon forum is powered by Phorum.