Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error:undefined reference to `lpc_from_cepstrum' #209

Open
Janne-byti opened this issue Oct 10, 2023 · 9 comments
Open

make error:undefined reference to `lpc_from_cepstrum' #209

Janne-byti opened this issue Oct 10, 2023 · 9 comments

Comments

@Janne-byti
Copy link

I want to know if this is just a header file loop call or is it missing some code?

@Janne-byti Janne-byti changed the title make error: unknown type name 'LPCNetModel'and‘PLCModel’ make error:undefined reference to `lpc_from_cepstrum' Oct 11, 2023
@lyt-git1129
Copy link

I also encountered this error

@pablodz
Copy link

pablodz commented Jan 11, 2024

same here

make  all-am
make[1]: Entering directory '/home/user/vozy/LPCNet'
  CCLD     lpcnet_demo
/usr/bin/ld: src/lpcnet_demo.o: in function `main':
/home/user/vozy/LPCNet/src/lpcnet_demo.c:257:(.text.startup+0x6a7): undefined reference to `lpc_from_cepstrum'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:653: lpcnet_demo] Error 1
make[1]: Leaving directory '/home/user/vozy/LPCNet'
make: *** [Makefile:488: all] Error 2

@pablodz
Copy link

pablodz commented Jan 11, 2024

#208

@bear-boy
Copy link

Just as #208 you can do:
git reset --hard 3000fa24717cbb68291e5bc589da0db351b51dec
then complie, it works for me.

@MoSal
Copy link

MoSal commented Apr 11, 2024

Removing -fvisibility=hidden from compile flags works. No need to revert to an older version.

@uuuuuvp
Copy link

uuuuuvp commented May 4, 2024

Just as #208 you can do: git reset --hard 3000fa24717cbb68291e5bc589da0db351b51dec then complie, it works for me.
man, it's helps me a lot

@shawl336
Copy link

shawl336 commented May 17, 2024

prepend __attribute__((visibility("default"))) before the line 57 of freq.h fixed the issue
which looks like: __attribute__((visibility("default"))) float lpc_from_cepstrum(float *lpc, const float *cepstrum);

@uuuuuvp
Copy link

uuuuuvp commented May 17, 2024

prepend attribute((visibility("default"))) before the line 57 of freq.h fixed the issue which looks like: attribute((visibility("default"))) float lpc_from_cepstrum(float *lpc, const float *cepstrum);

Bro, can I take a look at your pip list? from tensorflow.compat.v1.keras.layers import CudnnGRU is always having issues, your method really works well! thanks

@shawl336
Copy link

shawl336 commented Sep 2, 2024

hope this could do the favor
numpy==1.16.4
absl-py==0.7.1
astor==0.8.0
audioread==2.1.8
backports.weakref==1.0rc1
bandmat==0.7
bleach==1.5.0
certifi==2019.6.16
cffi==1.12.3
cycler==0.10.0
decorator==4.4.0
fire==0.2.1
gast==0.2.2
google-pasta==0.1.7
grpcio==1.16.1
h5py==2.9.0
html5lib==0.9999999
inflect==2.1.0
joblib==0.13.2
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
librosa==0.7.0
llvmlite==0.29.0
Markdown==3.1.1
matplotlib==3.1.1
#mkl-fft==1.0.14
#mkl-random==1.0.2
#mkl-service==2.0.2
mock==3.0.5
numba==0.45.1
pandas==0.25.1
pip==19.2.2
protobuf==3.8.0
pycparser==2.19
pyparsing==2.4.2
python-dateutil==2.8.0
pytz==2019.2
resampy==0.2.2
scikit-learn==0.21.3
scipy==1.3.1
setuptools==41.0.1
six==1.12.0
SoundFile==0.10.2
tensorboard==1.12.2
tensorflow-estimator==1.13.0
tensorflow-gpu==1.12.0
termcolor==1.1.0
tqdm==4.35.0
Unidecode==1.1.1
Werkzeug==0.15.5
wheel==0.33.4
wrapt==1.11.2

prepend attribute((visibility("default"))) before the line 57 of freq.h fixed the issue which looks like: attribute((visibility("default"))) float lpc_from_cepstrum(float *lpc, const float *cepstrum);

Bro, can I take a look at your pip list? from tensorflow.compat.v1.keras.layers import CudnnGRU is always having issues, your method really works well! thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants