[cgma-dev] Make check errors...

Iulian Grindeanu iulian at mcs.anl.gov
Wed Sep 26 15:36:31 CDT 2012


and these are modifications needed for lasso, in the same context (ubuntu 12, shared build) 

It should not affect other builds, but I am still reluctant to commit them to repository, until I understand why are they needed; and maybe there is a better solution; LPATH could be one solution, but I do not really like it. 

Iulian 

----- Original Message -----




| ----- Original Message -----



| | On 09/26/2012 01:57 PM, Paul Wilson wrote:


| | | Hi everyone,


| | | Sorry if I've missed this discussed elsewhere (or forgotten the
| | | answer
| | | that once knew)....


| | | I get the following errors when I try to "make check" on CGM built
| | | against cubit 12.2:



| | | | wilsonp at todlaw ~/UW/research/fathom/cgm/dagmc_bld/test >
| | | | LD_LIBRARY_PATH=/opt/cubit/12.2/bin make check

| | | | make init sheet webcut brick_acis merge_acis

| | | | make[1]: Entering directory
| | | | `/home/wilsonp/UW/research/fathom/cgm/dagmc_bld/test'

| | | | make[1]: `init' is up to date.

| | | | /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -pipe
| | | | -pedantic
| | | | -O2 -DNDEBUG -L/opt/cubit/12.2/bin -R/opt/cubit/12.2/bin -o
| | | | sheet
| | | | sheet.o ../libcgm.la -lm

| | | | libtool: link: g++ -Wall -pipe -pedantic -O2 -DNDEBUG -o
| | | | .libs/sheet
| | | | sheet.o -L/opt/cubit/12.2/bin ../.libs/libcgm.so -lm -Wl,-rpath
| | | | -Wl,/home/wilsonp/opt/lib -Wl,-rpath -Wl,/opt/cubit/12.2/bin

| | | | /usr/bin/ld: sheet.o: undefined reference to symbol
| | | | 'Body::is_sheet_body()'

| | | | /usr/bin/ld: note: 'Body::is_sheet_body()' is defined in DSO
| | | | /opt/cubit/12.2/bin/libcubiti19.so so try adding it to the
| | | | linker
| | | | command line

| | | | /opt/cubit/12.2/bin/libcubiti19.so: could not read symbols:
| | | | Invalid
| | | | operation

| | | | collect2: ld returned 1 exit status

| | | | make[1]: *** [sheet] Error 1

| | | | make[1]: Leaving directory
| | | | `/home/wilsonp/UW/research/fathom/cgm/dagmc_bld/test'

| | | | make: *** [check-am] Error 2


| | | I've configured with: --enable-optimize --disable-debug
| | | --enable-shared --with-cubit=/opt/cubit/12.2
| | | --prefix=/home/wilsonp/opt


| | | Should there be a -lcubit19 in the linker flags here?


| | | Paul


| | | --

| | | -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
| | | ~
| | | --

| | | Paul Wilson ~ UW-Madison ~ 608-263-0807 ~ cal:
| | | http://bit.ly/pphw-cal
| | | Associate Professor, Engineering Physics. ~
| | | http://cnerg.engr.wisc.edu
| | | Chair, Energy Analysis & Policy Program ~
| | | http://nelson.wisc.edu/eap

| | Hi Paul


| | Try adding cubit to your LPATH as well as your LD_LIBRARY_PATH.


| | Stuart


| | --

| | Stuart Slattery

| | Nuclear Regulatory Commission Fellow

| | Computational Nuclear Engineering Research Group

| | Department of Engineering Physics

| | University of Wisconsin - Madison


| | 434 Engineering Research Building

| | 1500 Engineering Drive

| | Madison, WI 53706


| | email : sslattery at wisc.edu cell : 608.843.5871

| | url : http://cnerg.engr.wisc.edu


| hello,

| This is my patch needed for cgm to pass make check on ubuntu 12
| (shared build)

| I didn't try setting LPATH.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20120926/31f7f1b0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lasso.patch.ubuntu12
Type: text/x-patch
Size: 2239 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20120926/31f7f1b0/attachment.bin>


More information about the cgma-dev mailing list