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

error compiling FreeFem++ #34

Open
brucellino opened this issue Jun 20, 2014 · 3 comments
Open

error compiling FreeFem++ #34

brucellino opened this issue Jun 20, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@brucellino
Copy link
Member


rm -f *~ *.o lib*.a common2* parser_yy.c parser_ly.h parser_ll.c *scotch.h *scotchf.h y.output dummysizes
make CC="gcc " CCD="gcc " SCOTCHLIB=scotch  \
                    scotch.h                        \
                    scotchf.h                       \
                    libscotch.a                     \
                    libscotcherr.a                  \
                    libscotcherrexit.a
make[8]: Entering directory `/var/lib/jenkins/workspace/freefem++/ARCH/x86_64/OS/sl6/SITE/generic/VERSION/3.30/freefem++-3.30/download/scotch/scotch_5.1_esmumps/src/libscotch'
gcc  -g  -DNDEBUG -O3 -mmmx -msse -msse2 -fPIC -I'/usr/include/mpich2-x86_64' -DLONG -Drestrict=__restrict -DCOMMON_STUB_FORK  -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DSCOTCH_RENAME -DSCOTCH_DETERMINISTIC -DSCOTCH_VERSION=\""5.1"\" dummysizes.c -o dummysizes -rdynamic -lm -Wl,-z,noexecstack -L/usr/lib64/mpich2/lib -L/usr/lib64/mpich2/lib -Wl,-rpath -Wl,/usr/lib64/mpich2/lib -lmpichcxx -lmpich -lopa -lpthread -lrt   -lpthread  
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `operator delete[](void*)'
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `operator new(unsigned long)'
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `operator delete(void*)'
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `operator new[](unsigned long)'
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `__cxa_pure_virtual'
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `__cxa_allocate_exception'
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `__cxa_throw'
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/lib64/mpich2/lib/libmpichcxx.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
collect2: ld returned 1 exit status
make[8]: *** [dummysizes] Error 1
@brucellino brucellino added this to the Version-0.1.0 milestone Jun 20, 2014
@brucellino brucellino added the bug label Jun 20, 2014
@brucellino brucellino self-assigned this Jun 20, 2014
@brucellino
Copy link
Member Author

Seems openmpi is incorrectly linked.

@brucellino
Copy link
Member Author

Seems like the GCC builds are not making viable compilers :

checking whether the C compiler works... no

brucellino pushed a commit that referenced this issue Jun 23, 2014
very verbose for freefem++ checking, trying to solve #34
@brucellino
Copy link
Member Author

Figured out that while the build is completed properly, the artifact stored, etc, the resulting application is not unpacked to /apprepo from /repo.

this needs to be done perhaps as a post action of the build, if the build passes.

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

No branches or pull requests

1 participant