Follow-up Comment #16, patch #7017 (project grep):

This does not work either:

search.o: In function `load_pcre':
/home/rrt/repo/grep-dlopen-pcre/src/search.c:71: undefined reference to
`dl_pcre_compile'
/home/rrt/repo/grep-dlopen-pcre/src/search.c:71: undefined reference to
`dl_pcre_study'
/home/rrt/repo/grep-dlopen-pcre/src/search.c:71: undefined reference to
`dl_pcre_exec'
/home/rrt/repo/grep-dlopen-pcre/src/search.c:71: undefined reference to
`dl_pcre_maketables'
search.o: In function `Pexecute':
/home/rrt/repo/grep-dlopen-pcre/src/search.c:812: undefined reference to
`dl_pcre_exec'
search.o: In function `Pcompile':
/home/rrt/repo/grep-dlopen-pcre/src/search.c:762: undefined reference to
`dl_pcre_compile'
/home/rrt/repo/grep-dlopen-pcre/src/search.c:762: undefined reference to
`dl_pcre_maketables'
/home/rrt/repo/grep-dlopen-pcre/src/search.c:766: undefined reference to
`dl_pcre_study'
collect2: ld returned 1 exit status

This I do understand, because now dl_pcre_exec &c. is never actually defined.
I can't see how your solution is going to work without defining the variable,
copying out the type...

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7017>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to