pkgsrc-Users archive

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

Re: undefined PLT symbol



2018-05-24 12:53 időpontban maya%netbsd.org@localhost ezt írta:
I can't use your makefile as is without extra changes.
it might be easier if you added the full thing to pkgsrc-wip:
http://pkgsrc.org/wip/users/

I fail very early in configure with just the makefile and no patches.

cmake initially says some things are disabled for me, so maybe it
resulted in a non-working configuration.


On Thu, May 24, 2018 at 09:33:17AM +0200, Fekete Zoltán wrote:
error:navit:plugin_load:can't load
'/usr/pkg/lib64/navit/map/libmap_textfile.so', Error
'/usr/pkg/lib64/navit/map/libmap_textfile.so: Undefined PLT symbol
"attr_search" (symnum = 2)'

lib64 sounds unlikely. in linux it's common to have this prefix, so
maybe it's hard coded somewhere.

Hi Maya,

OK, I'll subscribe to WIP. If you want to try until then, here are the patches. Note, that the 2nd is a real hack as I could not find yet why the compiler didn't find the symbol.

Thank you,

FeZ


******
patch-cmake_version.cmake

$NetBSD$

--- cmake/version.cmake.orig    2018-04-20 17:02:39.000000000 +0000
+++ cmake/version.cmake
@@ -39,7 +39,7 @@ string(REGEX MATCH "^[0-9]+" VERSION_NUM
 set(VERSION ${GIT_OUTPUT_HASH})

 EXECUTE_PROCESS(
- COMMAND ${DATE_EXECUTABLE} "+%y%m%d%H%M" "-d \@${VERSION_NUM}" # output as unix timestamp + COMMAND ${DATE_EXECUTABLE} "-d \@${VERSION_NUM}" "+%y%m%d%H%M" # output as unix timestamp
    WORKING_DIRECTORY "${SOURCE_DIR}"
    OUTPUT_VARIABLE DATE_CONVERT_OUTPUT
    ERROR_VARIABLE DATE_CONVERT_ERROR

******
patch-navit_graphics_opengl_graphics__opengl.c

$NetBSD$

--- navit/graphics/opengl/graphics_opengl.c.orig 2018-04-20 17:02:39.000000000 +0000
+++ navit/graphics/opengl/graphics_opengl.c
@@ -1723,10 +1723,10 @@ graphics_opengl_new(struct navit *nav, s
 #endif
        this->DLid = glGenLists(1);

- g_timeout_add(G_PRIORITY_DEFAULT + 10, graphics_opengl_idle, NULL);
+       g_timeout_add(10, graphics_opengl_idle, NULL);

        /*this will only refresh screen in map(overlay enabled) mode */
-       g_timeout_add(G_PRIORITY_DEFAULT + 1000, redraw_filter, this);
+       g_timeout_add(1000, redraw_filter, this);
 #endif

        //create hash table for uncompressed image data



Home | Main Index | Thread Index | Old Index