Skip to content

Error while importing DLL #1

@Ebmtranceboy

Description

@Ebmtranceboy

I have build hugs-android with the default (I have also tried armeabi-v7a in Application.mk but the compilation went wrong) and the demos run pretty well except Ldfs.hs which uses Data.Graph.

So, trying to find out:

$ hugs
Hugs> :l Data.Graph
ERROR "/data/data/jackpal.androidterm/app_HOME/hugs/lib/hugs/packages/hugsbase/Hugs/ST.hs":51 - Syntax error in type expression (unexpected `.')

something to do with "forall", I presume, so I have disable Haskell 98 mode:

$ hugs -98
Hugs> :l Data.Graph
ERROR "/data/data/jackpal.androidterm/app_HOME/hugs/lib/hugs/packages/hugsbase/Hugs/Storable.hs" - Error while importing DLL "/data/data/jackpal.androidterm/app_HOME/hugs/lib/hugs/packages/hugsbase/Hugs/Storable.so" :
Cannot load library: get_lib_extents[777]: 2896 - No loadable segments found in /data/jackpal.androidterm/app_HOME/hugs/lib/hugs/packages/hugsbase/Hugs/Storable.so.
Foreign.StablePtr>

Hugs-android built from the 16 dec 2013 github version with android-ndk-r9b.

My configuration :
Model: Asus Transformer TF101
Android version: 4.0.3
Kernel version: 2.6.39.4
AndroidTerm version: 1.0.53

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions