[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: checking whether char is unsigned... configure: error: can notrun test program while cross compiling tcl8.0.4 configuration failed!Exiting ...




If you are using cc, and have gcc installed, set the CC variable
in your environment to gcc.  

-Jayanth

> 
> >>> "Liming" == Liming Xiang <[email protected]> writes:
> 
> Liming> Hi All, When I installed ns-2 (2.1b5), I got the following
> Liming> error msg. I did search around the archive and find a couple
> Liming> of people encountered the same problem before. Unfortunately,
> Liming> I didn't find out any solution there. Sorry for raising the
> Liming> same question again. Please help me out.
> 
> Liming> Thanks in advance!!
> 
> Liming> Regards, Liming
> 
> Liming> amex-ultra:451> ./install loading cache ./config.cache
> Liming> checking for ranlib... ranlib checking whether
> Liming> cross-compiling... yes checking for getcwd... no checking for
> Liming> opendir... no checking for strstr... no checking for
> Liming> strtol... no checking for tmpnam... no checking for
> Liming> waitpid... no checking for strerror... no checking for
> Liming> getwd... no checking for wait3... no checking for uname... no
> Liming> checking for sin... no checking for -lieee... no checking
> Liming> dirent.h... no checking how to run the C preprocessor... cc -E
> Liming> checking for errno.h... yes checking for float.h... yes
> Liming> checking for values.h... yes checking for limits.h... yes
> Liming> checking for stdlib.h... yes checking for string.h... yes
> Liming> checking for sys/wait.h... yes checking for dlfcn.h... yes
> Liming> checking for unistd.h... yes checking termios vs. termio
> Liming> vs. sgtty... none checking fd_set and sys/select... no
> Liming> checking for sys/time.h... yes checking whether time.h and
> Liming> sys/time.h may both be included... no checking whether struct
> Liming> tm is in sys/time.h or time.h... sys/time.h checking for
> Liming> tm_zone in struct tm... no checking for tzname... no checking
> Liming> tm_tzadj in struct tm... no checking tm_gmtoff in struct
> Liming> tm... no checking long timezone variable... no checking time_t
> Liming> timezone variable... no checking for st_blksize in struct
> Liming> stat... no checking proper strstr implementation... broken,
> Liming> using substitute checking for strtoul... no checking for
> Liming> strtod... no checking for strtod... (cached) no checking for
> Liming> ANSI C header files... no checking for mode_t... no checking
> Liming> for pid_t... no checking for size_t... no checking for uid_t
> Liming> in sys/types.h... no checking for opendir... (cached) no
> Liming> checking union wait... no checking matherr support... no
> Liming> checking return type of signal handlers... int checking for
> Liming> vfork... no checking for strncasecmp... no checking for
> Liming> -lsocket... no checking for -linet... no checking for
> Liming> BSDgettimeofday... no checking for gettimeofday... no checking
> Liming> for gettimeofday declaration... missing checking for
> Liming> -linet... no checking for net/errno.h... yes checking whether
> Liming> char is unsigned... configure: error: can not run test program
> Liming> while cross compiling tcl8.0.4 configuration failed! Exiting
> Liming> ...
> 
> Liming> amex-ultra:452> uname -a SunOS amex-ultra 5.6
> Liming> Generic_105181-10 sun4u sparc SUNW,Ultra-1

-- 
-----------------------------------------------------------------
Jayanth P. Mysore
Networks and Infrastructure Research, Motorola Labs 
Phone: (847)576-8561 		 e-mail:[email protected]