Skip to content

Error encountered when compiling (undefined reference to bagel::Matrix1e ...) #263

@kalinitejxu

Description

@kalinitejxu

Dear developers,

I encountered this error when make -j8.

./.libs/libbagel.so: undefined reference to bagel::Matrix1e_<bagel::Matrix, void>::operator=(bagel::Matrix1e_<bagel::Matrix, void> const&)'
./.libs/libbagel.so: undefined reference to bagel::Matrix1e_<bagel::Matrix, void>::operator=(bagel::Matrix1e_<bagel::Matrix, void>&&)'

I have added "--disable-shared --enable-static" at ./configure and "-Wl,--copy-dt-needed-entries -Wl,--no-as-needed" to CXXFLAGS. However, it didn't help this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions