lkml.org 
[lkml]   [1996]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectasm/string.h
Question:

Using the gcc v 2.7.0 compiler with the 1.3.8x kernel includes, if I include
asm/string.h (ie via net/if_arp.h) and am using memset and strtok in the
same program I get unresolved externs for __memset_generic etc. if I compile
w/o optimization and unresolved externs for ___strtok if I compile w/
optimization. The only way I can get around this is to define
_I386_STRING_H_ so that asm/string.h doesn't get included.

I'm sure lots of people have hit this before, is there a standard "fix" or
is everybody doing the same thing I am?
/--------------------------------------------------------------------------/
/ Robert W. Boyer /
/ rboyer@interramp.com /
/ /
/--------------------------------------------------------------------------/



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.054 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site