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

Compilation issues #117

Open
MrDotOne opened this issue Mar 5, 2024 · 4 comments
Open

Compilation issues #117

MrDotOne opened this issue Mar 5, 2024 · 4 comments

Comments

@MrDotOne
Copy link

MrDotOne commented Mar 5, 2024

Trying to compile from source the latest version pf PennCNV (1.0.5) on an HPC where i have gcc/8.5.0 and perl/5.14.2. I get a linker error, and i am unsure how to resolve it:

[root@cc-dclrilog63 kext]# make
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm_wrap.o khmm_wrap.c
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm.o khmm.c
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o kc.o kc.c
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmmDev.o khmmDev.c
gcc -shared -o khmm.so khmm_wrap.o khmm.o kc.o khmmDev.o perl -MExtUtils::Embed -e ldopts -fPIC
/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make: *** [Makefile:16: khmm.so] Error 1

Any thoughts would be appreciated.

@kaichop
Copy link
Contributor

kaichop commented Mar 5, 2024 via email

@MrDotOne
Copy link
Author

MrDotOne commented Mar 5, 2024 via email

@kaichop
Copy link
Contributor

kaichop commented Mar 5, 2024 via email

@MrDotOne
Copy link
Author

MrDotOne commented Mar 5, 2024 via email

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

2 participants