Rockbox mail archiveSubject: Unresolved memcmp (Spotted)
Unresolved memcmp (Spotted)
From: Alex Gitelman <alex_at_fg-soup.com>
Date: Fri, 21 Jun 2002 10:04:59 -0700
It appears that gcc 3.1 uses inline for strncmp and it uses memcmp
internally. (I assume it's gcc 3.1 'cause nobody was getting this
problem). For that reason memcmp is put as a symbol in object file, so
having local strncmp version still leaves _memcmp symbols unresolved.
I will look into it latter tonight and over weekend, however if
somebody fixes it before or knows how to solve it with options (no
inline?) please post the message.
id3.c: (Stripped out) that causes the unresolved symbol problem:
setid3v2title(int fd, mp3entry *entry)
strncmp(header, "TP1", strlen("TP1"));
Received on 2002-06-21