Hi all,
I am current engage in a project that require me to create object
files. However I am struck in compiling all the object files
together. I tend to get lots of undefined reference some of which is
from iostream and others are from "new" and "delete"
This is what i did,
test: myprog.o myprog2.o myprog3.o
icc myprog.o myprog2.o myprog3.o -o myprog -lbz2 -lcrytopp -openmp
myprog.o: myprog.cpp
icc -DINTEL -march=i686 -c myprog.cpp -lbz2 -lcrytopp -openmp
myprog2.o: myprog2.c
icc -DINTEL -march=i686 -c myprog2.c
myprog3.o myprog3.c
icc -DINTEL -march=i686 -c myprog3.c
some Errors,
undefined reference to std::istream::seekg...
undefined reference to std::istream::tellg
undefined reference to operator new
undefined reference to operator delete
and many more undefined reference
Anyone know how to solve it. By the way I can't use gcc because I am
required to use openmp.
Thanks
P.S. I am apologize if I place this post in the wrong group.