Re: error during compil

2011-08-09 Thread John Dennis
On 08/09/2011 04:10 AM, florent ainardi wrote: i have a little problem when i try to compil my program nss and nspr are installed on my system when i launch gcc with the following syntax gcc -g test.c -otest -I/usr/include/nss -I/usr/include/nspr i have the following error und

Re: NSS_NoDB_Init undefined refence ??

2011-08-09 Thread Brad Hards
On Tuesday 09 August 2011 19:19:48 florent ainardi wrote: > when i launch gcc i have the error > undefined reference to 'NSS_NoDB_Init' You really should consider Anders' response on this one - NSS isn't the place to be learning to use gcc. However if you still need to resolve this, add the appro

Re: NSS_NoDB_Init undefined refence ??

2011-08-09 Thread Anders Rundgren
I would drop NSS and C programming; it is for experts only. Java is much easier and JCE is quite powerful and there are tons of code to google for. Anders On 2011-08-09 11:19, florent ainardi wrote: > hi again > i wrote this program > > #include > #include > > int main(int argc, char *argv[]

NSS_NoDB_Init undefined refence ??

2011-08-09 Thread florent ainardi
hi again i wrote this program #include #include int main(int argc, char *argv[]) { NSS_NoDB_Init(NULL); } when i launch gcc i have the error undefined reference to 'NSS_NoDB_Init' please help i don't understand why i have this error if i delete the line which contains NSS_NoDB_Init there is n

error during compil

2011-08-09 Thread florent ainardi
hi all i have a little problem when i try to compil my program nss and nspr are installed on my system in my program i have : #include #include #include ... PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL,0); ... end ^^ when i launch gcc with the following syntax gcc -g test.c -otest -I/usr/incl