dcollections problem

Steven Schveighoffer schveiguy at yahoo.com
Tue Jun 29 11:19:29 PDT 2010


On Tue, 29 Jun 2010 14:13:57 -0400, BLS <windevguy at hotmail.de> wrote:

> Hi
> - probably Steve :)
>
>
> I have problem in compiling a little programm using dcollection.LinkList.
> (similar problem appears when I use dcollections.ArrayList)
>
> D2.047
>
> Linker error..
> Error	1	Error 42: Symbol Undefined _D12dcollections8LinkList7__arrayZ		
> Error	2	Error 42: Symbol Undefined  
> _D12dcollections8LinkList12__ModuleInfoZ		
>
> // LinkList use...
> import dcollections.LinkList;
>
> final class LoadBalancer {
> 	alias LinkList!Server ServerList;
> 	private ServerList sl;	
> 	static this() {
> 		synchronized lb = new LoadBalancer;
> 	}
> 	static LoadBalancer opCall() {
> 		return lb;
> 	}
> 	private this() {
> 		sl = new ServerList;
> 		sl.add( new Server() );
>
> ...
> }
> Thanks, Bjoern

Are you linking against dcollections?  It looks like you are not...

BTW, you can use dcollections' ticket tracking system for things like this  
instead of sending to the newsgroup :)

http://www.dsource.org/projects/dcollections/newticket

-Steve


More information about the Digitalmars-d-learn mailing list