#6750: [with spkg, needs review] New version of optional Group Cohomology spkg
-------------------------------+--------------------------------------------
 Reporter:  SimonKing          |       Owner:  SimonKing              
     Type:  enhancement        |      Status:  assigned               
 Priority:  major              |   Milestone:                         
Component:  optional packages  |    Keywords:  cohomology ring p-group
 Reviewer:                     |      Author:  Simon King             
   Merged:                     |  
-------------------------------+--------------------------------------------

Comment(by jhpalmieri):

 Hi Simon,

 "-m64" is used some of the time, but not always, and so the build fails.
 For example:
 {{{
 gcc      -Wall -DASM_MMX -g -O1 -m64 -DOS_DEFAULT -fPIC -o maketab
 /Applications/sage/spkg/build/p_group_cohomology-1.1/src/mtx2.2.4/src/maketab.c
 /Applications/sage/spkg/build/p_group_cohomology-1.1/src/lib/libmtx.a
 }}}
 looks good.  On the other hand:
 {{{
 gcc
 -I/Applications/sage/spkg/build/p_group_cohomology-1.1/src/mtx2.2.4/src/
 -Wall -g -fPIC -O1    -c -o mam.o
 /Applications/sage/spkg/build/p_group_cohomology-1.1/src/present/src/mam.c
 }}}
 As the build process fails:
 {{{
 gcc -L/Applications/sage/spkg/build/p_group_cohomology-1.1/src/lib -o
 makeActionMatrices mam.o pgroup.o perror.o -lmtx
 ld warning: in
 /Applications/sage/spkg/build/p_group_cohomology-1.1/src/lib/libmtx.a,
 file is not of required architecture
 Undefined symbols:
   "_tnull", referenced from:
       _tnull$non_lazy_ptr in pgroup.o
   "_matinv", referenced from:
       _makeBasisChangeMatrices in pgroup.o
   "_zalloc", referenced from:
       _allocateMatrixList in pgroup.o
       _basisChangeReg2Nontips in pgroup.o
       _changeActionMatricesReg2Nontips in pgroup.o
       _makeLeftActionMatrices in pgroup.o

 [snip]

 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[1]: *** [makeActionMatrices] Error 1
 }}}

 I don't see DARWIN64 in

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6750#comment:30>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to