Help for: Can't run test program Problem



Hi,
    When I try to compile glib, it fails here:
    Checking for extra flags to get ANSI library prototypes...configure:error:can not run test program while cross compiling
    I have modifed the acglib.m4 and configure.in files according to the article in Bug Tracker.
    One solution in a article posted before is:
     #preload config.cache with proper values
      cat > config.cache << EOF
      glib_cv_long_long_format=\${glib_cv_long_long_format=ll}
      glib_cv_stack_grows=\${glib_cv_stack_grows=no}
      glib_cv_has__inline=\${glib_cv_has__inline=yes}
      glib_cv_has__inline__=\${glib_cv_has__inline__=yes}
     Which file can I add this line? Add it to the config.cache?But config.cache is deleted after you make clean. I still tried,but it is useless.
    Anybody know how to resolve it. Thanks a lot.


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