I'm running PC-BSD 1.5 (so yeah, FreeBSD 6.3 w/ GCC-3.4.6). I installed GCC 4.2 and I still get the same problems:
Code:
jsapi.o(.text+0xeb3): In function `JS_GetStringChars':
: undefined reference to `malloc'
jsapi.o(.text+0xf01): In function `JS_GetStringChars':
: undefined reference to `memcpy'
jsapi.o(.text+0x1a0d): In function `JS_ExecuteScriptPart':
: undefined reference to `memcpy'
jsapi.o(.text+0x1f76): In function `JS_StringToVersion':
: undefined reference to `strcmp'
jsapi.o(.text+0x1fc9): In function `JS_CompileFile':
: undefined reference to `strcmp'
...
...
prmjtime.o(.text+0x195): In function `PRMJ_FormatTime':
: undefined reference to `memmove'
prmjtime.o(.text+0x1a5): In function `PRMJ_FormatTime':
: undefined reference to `memcpy'
prmjtime.o(.text+0x1cb): In function `PRMJ_FormatTime':
: undefined reference to `strstr'
prmjtime.o(.text+0x203): In function `PRMJ_Now':
: undefined reference to `gettimeofday'
prmjtime.o(.text+0x263): In function `PRMJ_LocalGMTDifference':
: undefined reference to `mktime'
prmjtime.o(.text+0x47a): In function `PRMJ_DSTOffset':
: undefined reference to `localtime_r'