Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

Undefined During Build #3

Description

I am trying to build on a recent CentOS 7 release, following instructions as posted, using master branch for all git modules. Everything goes well until the omicli binary is being linked, where I get some undefineds. See output below. Is there a fix or workaround for this issue? I tried adding a configure option to not build for openssl 0.9.8, but I get the same undefineds when building only for 1.0.x. Any thoughts on how to get past the errors? Thanks,

mkdir -p /home/glsutter/bld-dsc/dsc/omi-1.0.8/output_openssl_0.9.8/bin
g++ -o /home/glsutter/bld-dsc/dsc/omi-1.0.8/output_openssl_0.9.8/bin/omicli /home/glsutter/bld-dsc/dsc/omi-1.0.8/output_openssl_0.9.8/obj/home/glsutter/bld-dsc/omi/Unix/cli/cli_c.o /home/glsutter/bld-dsc/dsc/omi-1.0.8/output_openssl_0.9.8/obj/home/glsutter/bld-dsc/omi/Unix/cli/climain_c.o -L/home/glsutter/bld-dsc/dsc/omi-1.0.8/output_openssl_0.9.8/lib -L -lmi -lpal -lxmlserializer -lbase -lmicodec -lmofparser -lmi -lpal -lxmlserializer -lbase -lmicodec -lmofparser -lpthread -ldl -lpam -L/home/glsutter/bld-dsc/dsc/ext/curl/current_platform/lib -Wl,-rpath=/opt/omi/lib
/home/glsutter/bld-dsc/dsc/omi-1.0.8/output_openssl_0.9.8/obj/home/glsutter/bld-dsc/omi/Unix/cli/cli_c.o: In function ConsumeInstanceResults': cli_c.c:(.text+0x190e): undefined reference to MI_Application_InitializeV1'
cli_c.c:(.text+0x1abe): undefined reference to MI_Application_InitializeV1' /home/glsutter/bld-dsc/dsc/omi-1.0.8/output_openssl_0.9.8/obj/home/glsutter/bld-dsc/omi/Unix/cli/cli_c.o: In function climain':
cli_c.c:(.text+0x2b85): undefined reference to MI_Application_InitializeV1' /home/glsutter/bld-dsc/dsc/omi-1.0.8/output_openssl_0.9.8/lib/libmi.so: undefined reference to mi_clientFT_V1'
collect2: error: ld returned 1 exit status
make[5]: *** [/home/glsutter/bld-dsc/dsc/omi-1.0.8/output_openssl_0.9.8/bin/omicli] Error 1
make[5]: Leaving directory /home/glsutter/bld-dsc/omi/Unix/cli' make[4]: *** [all] Error 2 make[4]: Leaving directory /home/glsutter/bld-dsc/omi/Unix'
make[3]: *** [all] Error 2
make[3]: Leaving directory /home/glsutter/bld-dsc/omi/Unix' make[2]: *** [omi098] Error 2 make[2]: Leaving directory /home/glsutter/bld-dsc/dsc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/glsutter/bld-dsc/dsc'
make: *** [all] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions