noob string concatenation help.

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Fri Apr 13 05:26:42 PDT 2007


anupam kapoor wrote:
[snip]
> however, i get the following link errors:
> 
> gcc string.o -o obj/string-test -m32 -lphobos -lpthread -lm 
> string.o: In function `_Dmain':
> string.d:(.gnu.linkonce.t_Dmain+0x45): undefined reference to `_d_arrayappendT'
> string.d:(.gnu.linkonce.t_Dmain+0x78): undefined reference to `_d_arrayappendT'
> collect2: ld returned 1 exit status
> --- errorlevel 1
> 
> can you please help ? is my installation br0ken ? i have used stuff from the wiki4d for setting up
> the environment.

It looks like you're trying to use a new DMD with an old Phobos. You 
should check your import paths for a leftover libphobos.a from a 
previous installation.


More information about the Digitalmars-d-learn mailing list