Skip to content

make: *** [libffm.so] Error 1 #3

@atans96

Description

@atans96

My problem is the same as issue #1 (is it solved??) that I want to convert my data into libffm format but the problem is my target is continuous, not classification. I'm not sure whether FFM_data() can handle this problem?

type make so generates error:

~/libffm-python$ make so
g++ -Wall -O3 -std=c++0x -march=native -fopenmp -DUSESSE -DUSEOMP -fPIC -c -o timer.o timer.cpp
g++ -shared -Wall -O3 -std=c++0x -march=native -fopenmp -DUSESSE -DUSEOMP -o libffm.so -fPIC timer.o ffm.cpp
ffm.cpp: In function 'void ffm::free_ffm_float(ffm::ffm_float*)':
ffm.cpp:863:6: error: redefinition of 'void ffm::free_ffm_float(ffm::ffm_float*)'
void free_ffm_float(ffm_float data) {
^
ffm.cpp:784:6: error: 'void ffm::free_ffm_float(ffm::ffm_float
)' previously defined here
void free_ffm_float(ffm_float *data) {
^
make: *** [libffm.so] Error 1

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