export CC=gcc export CXX=g++ or try SFE http://pkgbuild.sourceforge.net/spec-files-extra/
On Fri, Jun 20, 2008 at 2:48 AM, Shao Xuan <[EMAIL PROTECTED]> wrote: > Hello dsc, > > Bad news, after installing gcc-dev and SUNWhea, the compiling still failed: > > [EMAIL PROTECTED]:~/mplayer# pkg search -r inttypes.h > INDEX ACTION VALUE PACKAGE > basename file usr/include/sys/inttypes.h pkg:/[EMAIL PROTECTED] > basename file usr/include/sys/inttypes.h pkg:/[EMAIL PROTECTED] > basename file usr/include/sys/inttypes.h pkg:/[EMAIL PROTECTED] > basename file usr/include/sys/inttypes.h pkg:/[EMAIL PROTECTED] > basename file usr/include/sys/inttypes.h pkg:/[EMAIL PROTECTED] > basename file usr/include/sys/inttypes.h pkg:/[EMAIL PROTECTED] > > [EMAIL PROTECTED]:~/mplayer# pkg list SUNWhea > NAME (AUTHORITY) VERSION STATE UFIX > SUNWhea 0.5.11-0.90 installed ---- > > [EMAIL PROTECTED]:~/mplayer# ./configure > Detected operating system: SunOS > Detected host architecture: i386 > Checking for cc version ... 3.4.3, ok > Checking for host cc ... cc > Checking for cross compilation ... yes > collect2: ld terminated with signal 9 [Killed] > ld.so.1: ld: fatal: libld.so.4: version `SUNWprivate_4.2' not found (required > by file /usr/bin/ld) > ld.so.1: ld: fatal: libld.so.4: open failed: No such file or directory > ld.so.1: ld: fatal: relocation error: file /usr/bin/ld: symbol ld32_main: > referenced symbol not found > ./configure: line 1549: ./cpuinfo: not found > ./configure: line 1550: ./cpuinfo: not found > ./configure: line 1551: ./cpuinfo: not found > ./configure: line 1552: ./cpuinfo: not found > ./configure: line 1553: ./cpuinfo: not found > ./configure: line 1555: ./cpuinfo: not found > Checking for CPU vendor ... (::) > Checking for CPU type ... > Checking for mtrr support ... auto > Checking for GCC & CPU optimization abilities ... CPU optimization disabled. > CPU not recognized or your compiler is too old. > error > Checking for assembler support of -pipe option ... no > Checking for compiler support of named assembler arguments ... yes > Checking for assembler (/usr/sfw/bin/gas ) ... ok > Checking for .align is a power of two ... no > Checking for -lposix ... no > Checking for -lm ... no > Checking for langinfo ... no > Checking for language ... using en (man pages: en ) > Checking for enable sighandler ... yes > Checking for runtime cpudetection ... no > Checking for restrict keyword ... none > Checking for __builtin_expect ... no > Checking for kstat ... no > Checking for posix4 ... no > Checking for lrintf ... no > Checking for mkstemp ... no > Checking for nanosleep ... no > Checking for socklib ... no > Checking for inet_pton() ... no (trying inet_aton next) > Checking for inet_aton() ... no (network support disabled) > Checking for network ... no > Checking for inttypes.h (required) ... no > Checking for bitypes.h (inttypes.h predecessor) ... > Error: Cannot find header either inttypes.h or bitypes.h. There is no chance > for compilation to succeed. > > Thanks, > shao xuan > -- > > This message posted from opensolaris.org > > _______________________________________________ > indiana-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/indiana-discuss > -- Andy http://blog.sartek.net _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
