/[libtool]/libtool/ltmain.in
ViewVC logotype

Diff of /libtool/ltmain.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.259.2.12 by gary, Sun Oct 28 12:01:43 2001 UTC revision 1.259.2.13 by gary, Thu Nov 15 00:34:30 2001 UTC
# Line 1461  compiler." Line 1461  compiler."
1461            lib)            lib)
1462              if test "$deplibs_check_method" != pass_all; then              if test "$deplibs_check_method" != pass_all; then
1463                echo                echo
1464                echo "*** Warning: This library needs some functionality provided by $deplib."                echo "*** Warning: Trying to link with static lib archive $deplib."
1465                echo "*** I have the capability to make that library automatically link in when"                echo "*** I have the capability to make that library automatically link in when"
1466                echo "*** you link to this library.  But I can only do this if you have a"                echo "*** you link to this library.  But I can only do this if you have a"
1467                echo "*** shared version of the library, which you do not appear to have."                echo "*** shared version of the library, which you do not appear to have"
1468                  echo "*** because the file extensions .$libext of this argument makes me believe"
1469                  echo "*** that it is just a static archive that I should not used here."
1470              else              else
1471                echo                echo
1472                echo "*** Warning: Linking the shared library $output against the"                echo "*** Warning: Linking the shared library $output against the"
# Line 1926  compiler." Line 1928  compiler."
1928              # Just print a warning and add the library to dependency_libs so              # Just print a warning and add the library to dependency_libs so
1929              # that the program can be linked against the static library.              # that the program can be linked against the static library.
1930              echo              echo
1931              echo "*** Warning: This library needs some functionality provided by $lib."              echo "*** Warning: This system can not link to static lib archive $lib."
1932              echo "*** I have the capability to make that library automatically link in when"              echo "*** I have the capability to make that library automatically link in when"
1933              echo "*** you link to this library.  But I can only do this if you have a"              echo "*** you link to this library.  But I can only do this if you have a"
1934              echo "*** shared version of the library, which you do not appear to have."              echo "*** shared version of the library, which you do not appear to have."
1935              if test "$module" = yes; then              if test "$module" = yes; then
1936                echo "*** Therefore, libtool will create a static module, that should work "                echo "*** But as you try to build a module library, libtool will still create "
1937                echo "*** as long as the dlopening application is linked with the -dlopen flag."                echo "*** a static module, that should work as long as the dlopening application"
1938                  echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
1939                if test -z "$global_symbol_pipe"; then                if test -z "$global_symbol_pipe"; then
1940                  echo                  echo
1941                  echo "*** However, this would only work if libtool was able to extract symbol"                  echo "*** However, this would only work if libtool was able to extract symbol"
# Line 2507  EOF Line 2510  EOF
2510                  else                  else
2511                    droppeddeps=yes                    droppeddeps=yes
2512                    echo                    echo
2513                    echo "*** Warning: This library needs some functionality provided by $i."                    echo "*** Warning: dynamic linker does not accept needed library $i."
2514                    echo "*** I have the capability to make that library automatically link in when"                    echo "*** I have the capability to make that library automatically link in when"
2515                    echo "*** you link to this library.  But I can only do this if you have a"                    echo "*** you link to this library.  But I can only do this if you have a"
2516                    echo "*** shared version of the library, which you do not appear to have."                    echo "*** shared version of the library, which I believe you do not have"
2517                      echo "*** because a test_compile did reveal that the linker did not use it for"
2518                      echo "*** its dynamic dependency list that programs get resolved with at runtime."
2519                  fi                  fi
2520                else                else
2521                  newdeplibs="$newdeplibs $i"                  newdeplibs="$newdeplibs $i"
# Line 2537  EOF Line 2542  EOF
2542                    else                    else
2543                      droppeddeps=yes                      droppeddeps=yes
2544                      echo                      echo
2545                      echo "*** Warning: This library needs some functionality provided by $i."                      echo "*** Warning: dynamic linker does not accept needed library $i."
2546                      echo "*** I have the capability to make that library automatically link in when"                      echo "*** I have the capability to make that library automatically link in when"
2547                      echo "*** you link to this library.  But I can only do this if you have a"                      echo "*** you link to this library.  But I can only do this if you have a"
2548                      echo "*** shared version of the library, which you do not appear to have."                      echo "*** shared version of the library, which you do not appear to have"
2549                        echo "*** because a test_compile did reveal that the linker did not use this one"
2550                        echo "*** as a dynamic dependency that programs can get resolved with at runtime."
2551                    fi                    fi
2552                  else                  else
2553                    droppeddeps=yes                    droppeddeps=yes
# Line 2597  EOF Line 2604  EOF
2604                if test -n "$a_deplib" ; then                if test -n "$a_deplib" ; then
2605                  droppeddeps=yes                  droppeddeps=yes
2606                  echo                  echo
2607                  echo "*** Warning: This library needs some functionality provided by $a_deplib."                  echo "*** Warning: linker path does not have real file for library $a_deplib."
2608                  echo "*** I have the capability to make that library automatically link in when"                  echo "*** I have the capability to make that library automatically link in when"
2609                  echo "*** you link to this library.  But I can only do this if you have a"                  echo "*** you link to this library.  But I can only do this if you have a"
2610                  echo "*** shared version of the library, which you do not appear to have."                  echo "*** shared version of the library, which you do not appear to have"
2611                    echo "*** because I did check the linker path looking for a file starting"
2612                    if test -z "$potlib" ; then
2613                      echo "*** with $libname but no candidates were found. (...for file magic test)"
2614                    else
2615                      echo "*** with $libname and none of the candidates passed a file format test"
2616                      echo "*** using a file magic. Last file checked: $potlib"
2617                    fi
2618                fi                fi
2619              else              else
2620                # Add a -L argument.                # Add a -L argument.
# Line 2619  EOF Line 2633  EOF
2633                for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do                for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
2634                  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`                  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
2635                  for potent_lib in $potential_libs; do                  for potent_lib in $potential_libs; do
2636                      potlib="$potent_lib" # see symlink-check below in file_magic test
2637                    if eval echo \"$potent_lib\" 2>/dev/null \                    if eval echo \"$potent_lib\" 2>/dev/null \
2638                        | sed 10q \                        | sed 10q \
2639                        | egrep "$match_pattern_regex" > /dev/null; then                        | egrep "$match_pattern_regex" > /dev/null; then
# Line 2631  EOF Line 2646  EOF
2646                if test -n "$a_deplib" ; then                if test -n "$a_deplib" ; then
2647                  droppeddeps=yes                  droppeddeps=yes
2648                  echo                  echo
2649                  echo "*** Warning: This library needs some functionality provided by $a_deplib."                  echo "*** Warning: linker path does not have real file for library $a_deplib."
2650                  echo "*** I have the capability to make that library automatically link in when"                  echo "*** I have the capability to make that library automatically link in when"
2651                  echo "*** you link to this library.  But I can only do this if you have a"                  echo "*** you link to this library.  But I can only do this if you have a"
2652                  echo "*** shared version of the library, which you do not appear to have."                  echo "*** shared version of the library, which you do not appear to have"
2653                    echo "*** because I did check the linker path looking for a file starting"
2654                    if test -z "$potlib" ; then
2655                      echo "*** with $libname but no candidates were found. (...for regex pattern test)"
2656                    else
2657                      echo "*** with $libname and none of the candidates passed a file format test"
2658                      echo "*** using a regex pattern. Last file checked: $potlib"
2659                    fi
2660                fi                fi
2661              else              else
2662                # Add a -L argument.                # Add a -L argument.

Legend:
Removed from v.1.259.2.12  
changed lines
  Added in v.1.259.2.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26