[uClinux-dev] building for PalmOS -- strstr() args

James Lemke jim at thelemkes.ca
Sun Mar 9 11:56:48 EST 2003

I'm using a RHL 8.0 workstation to build.  In uclinuxgcc-kit-160899/ I
type make and eventually get the following messages:
gcc -c -g -O2 -I. -I./../include  ./dummy.c 2>/dev/null
make[2]: *** [dummy.o] Error 1
make[2]: Leaving directory
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory
make: *** [/work/gnu/bin/m68k-coff-as] Error 2

Re-executing the compile, I find the following error msg:
[jim at mast libiberty]$ gcc -c -g -O2 -I. -I./../include  ./dummy.c
In file included from dummy.c:46:
functions.def: In function `main':
functions.def:38: too few arguments to function `strstr'

Functions.def defines strstr with no args, but /usr/include/string.h

Can anybody shed some light on this?


Jim Lemke   jim at TheLemkes.ca   Barrie, Ontario
1986 Concours, COG #2637    1992 ST1100, STOC #3750
Those who dance are considered insane
by those who can't hear the music.  George Carlin

More information about the uClinux-dev mailing list