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

undefined reference to `GOMP_parallel' #32

Open
szepeviktor opened this issue Apr 22, 2015 · 4 comments
Open

undefined reference to `GOMP_parallel' #32

szepeviktor opened this issue Apr 22, 2015 · 4 comments

Comments

@szepeviktor
Copy link
Contributor

g++ -pthread -fopenmp  -fopenmp -fPIC -o buildtmp/pcompress main.o -ldl -L./buildtmp -Wl,-R/usr/lib/x86_64-linux-gnu,--enable-new-dtags -lbz2 -L./buildtmp -Wl,-R/usr/lib/x86_64-linux-gnu,--enable-new-dtags -lz -lm -L./bsc -lbsc -L./buildtmp -Wl,-R/usr/lib/x86_64-linux-gnu,--enable-new-dtags -lcrypto -lrt -Larchive/libarchive/.libs -larchive  -Wl,-R/usr/lib,--enable-new-dtags -Wl,-R/usr/lib64,--enable-new-dtags -L/usr/src/wavpack-4.70.0/src/.libs -lwavpack -L. -lpcompress
./libpcompress.so: undefined reference to `GOMP_parallel'
collect2: error: ld returned 1 exit status
make: *** [buildtmp/pcompress] Error 1

But I see -fopenmp included twice.

@szepeviktor
Copy link
Contributor Author

gcc, g++ 4.7

@moinakg
Copy link
Owner

moinakg commented Apr 29, 2015

Which platform? Is this on Debian?

@szepeviktor
Copy link
Contributor Author

Yes. Wheezy amd64.

@szepeviktor
Copy link
Contributor Author

Not on jessie (stable 3 days ago).

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