# STRING.LIB Error !

**URL:** <https://forums.digi.com/t/string-lib-error/9223>\
**Category:** Rabbit\
**Created:** [June 18, 2007, 7:37am UTC](https://forums.digi.com/t/string-lib-error/9223 "2007-06-18T07:37:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkahtesh](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@Venkahtesh](https://forums.digi.com/u/Venkahtesh)\
**Post date:** [June 18, 2007, 7:37am UTC](https://forums.digi.com/t/string-lib-error/9223/1 "2007-06-18T07:37:29Z")

</div>

Dear Friends,

```
I am new to this Rabbit Processor. I have written a small program which makes use of the "string.lib". Here is the code....

```

#class auto  
#use “string.lib”

main()  
{  
int i;  
char src[100];

strcpy(src,“AT+CGDCONT=1,^IP^,^airtelgprs.com^,^0.0.0.0^,0,0”;

for(i=0;i\<100;i++)  
{  
printf(“%c”,src[i]);  
}  
}

```
      When i compile this code, i get the error "[b]line 1 : ERROR STRING.C : Duplicate _xtoxErr found in file C:\DCRABBIT_9.21\LIB\STRING.LIB (previous one ignored).[/b]"...... Can any one please guide me where i am going wrong in my Code. I am using Dynamic C V9.21......

```

regards,  
Venkhatesh:)

---

<div class="post-metadata">

**Author:** ![OmarGarcia](https://avatars.discourse-cdn.com/v4/letter/o/82dd89/32.png) [@OmarGarcia](https://forums.digi.com/u/OmarGarcia)\
**Post date:** [August 2, 2007, 9:26pm UTC](https://forums.digi.com/t/string-lib-error/9223/2 "2007-08-02T21:26:24Z")

</div>

there is a sintax error :

strcpy(src,“AT+CGDCONT=1,^IP^,^airtelgprs.com^,^0. 0.0.0^,0,0”;

this is correct :

strcpy(src,“AT+CGDCONT=1,^IP^,^airtelgprs.com^,^0. 0.0.0^,0,0”);

“)” is missing…

---

<div class="post-metadata">

**Author:** ![Venkahtesh](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@Venkahtesh](https://forums.digi.com/u/Venkahtesh)\
**Post date:** [August 9, 2007, 7:22am UTC](https://forums.digi.com/t/string-lib-error/9223/3 "2007-08-09T07:22:51Z")

</div>

Thanks… !

regards,  
Venkhatesh
