12 Mar, 2010, yamtara wrote in the 1st comment:
Votes: 0
i ame using ubuntu 9.10 gcc 4x.x.

there is a error mssg like this

gcc -c -g -Dlinux -O act_hera.c
act_hera.c:345: error: conflicting types for bcopy
act_hera.c:346: error: conflicting types for bzero


344 #if defined(linux)
345 void bcopy(const void *src,void *dest,int n);
346 void bzero(void *s,int n);
347 #else
348 void bcopy(char *s1,char* s2,int len);
349 void bzero(char *sp,int len);
350 #endif
351
352 extern const char * dir_name[];
353
354 struct hash_link
355 {
356 int key;
357 struct hash_link *next;
358 void *data;
359 };
360
361 struct hash_header
362 {
363 int rec_size;
364 int table_size;
365 int *keylist, klistsize, klistlen; /* this is really lame,
366 AMAZINGLY lame */
367 struct hash_link **buckets;
368 };
12 Mar, 2010, jurdendurden wrote in the 2nd comment:
Votes: 0
Basically you have bcopy/bzero defined somewhere else (probably using <strings.h>). I would remove these lines entirely and try to compile again:

#if defined(linux) 
void bcopy(const void *src,void *dest,int n);
void bzero(void *s,int n);
#else
void bcopy(char *s1,char* s2,int len);
void bzero(char *sp,int len);
#endif
12 Mar, 2010, jurdendurden wrote in the 3rd comment:
Votes: 0
The conflicting types error message (when in reference to functions), usually means that you have declared the function once with one set of arguments, and in another area with a different set of arguments.
0.0/3