Welcome to iraf.net Friday, May 17 2024 @ 06:26 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 one more on 'mkpkg -p nmisc...'
   
paulartcoelho
 09/28/2006 05:17AM (Read 6447 times)  
++---
Junior

Status: offline


Registered: 03/09/2006
Posts: 18
hi there, i'm trying to compile some packages under suse 10.1. when i get to nmisc, i get:softools> mkpkg -p nmisc
Library libpkg.a is up to date
Object x_imexam.o is up to date
xc -Nz -p nmisc x_imexam.o libpkg.a -lds -lncar -lgks -lllsq -lxtools -lcurfit -lgsurfit -lnlfit -liminterp -o xx_imexam.e
move `xx_imexam.e' to `nmiscbin$x_imexam.e'
Subdirectory src/xregister is up to date
xc -c -w -p nmisc t_ccdmask.x t_fixpix.x t_text2mask.x t_mask2text.x
t_ccdmask.x:
t_ccdmask:
cm_mask:
cm_interp:
cm_interp1:
t_fixpix.x:
t_fixpix:
fp_narrow:
t_text2mask.x:
t_text2mask:
t_mask2text.x:
t_mask2text:
t_ccdmask.f:
tccdmk:
cmmask:
cmintp:
cmint1:
t_ccdmask.c:216: error: conflicting types for â
t_ccdmask.c:80: error: previous declaration of â was here
ar r /iraf/extern/nmisc/src/libpkg.a rngranges.o spfgraph.o stfgraph.o stfmeasure.o stfprofile.o t_specfocus.o t_starfocus.o fpfixpix.o t_ccdmask.o t_fixpix.o t_text2mask.o t_mask2text.o
ar: t_ccdmask.o: No such file or directory
ranlib libpkg.a
Updated 12 files in libpkg.a
Object x_nmisc.o is up to date
xc -Nz -p nmisc x_nmisc.o libpkg.a -lds -lncar -lgks -lllsq -lxtools -lcurfit -lgsurfit -lnlfit -liminterp -o xx_nmisc.e
x_nmisc.o: In function `sysruk_':
x_nmisc.cFrown.text+0x27a): undefined reference to `tfixpx_'
x_nmisc.cFrown.text+0x2a1): undefined reference to `tccdmk_'
x_nmisc.cFrown.text+0x2c8): undefined reference to `tmaskt_'
x_nmisc.cFrown.text+0x2ef): undefined reference to `tpsfme_'
x_nmisc.cFrown.text+0x316): undefined reference to `tspecs_'
x_nmisc.cFrown.text+0x33b): undefined reference to `tstars_'
x_nmisc.cFrown.text+0x35f): undefined reference to `ttextk_'
collect2: ld returned 1 exit status
Warning, mkpkg line 8: module `relink' not found or returned error
move `xx_nmisc.e' to `nmiscbin$x_nmisc.e'
$move: file `xx_nmisc.e' not found
Warning, mkpkg line 34: error moving file xx_nmisc.e
Warning, mkpkg line 9: module `install' not found or returned error
Warning, mkpkg line 3: module `update@src' not found or returned errorwhat am i missing? i tried adding ' -p noao ' too, didn't work either.thx
paula

 
Profile Email
 Quote
fitz
 09/28/2006 05:17AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
This is a coding error: The call to cm_mask() on line 85 of t_ccdmask.x has 14 arguments but is declared with only 13. The fix is simply to delete the last argument (i.e. one of the two 'ngood') and try compiling again. This has been fixed in the master source but the package source hasn't been updated yet.-MikeP.S. FWIW, CCDMASK is also part of the IMRED.CCDRED package and in fact this version is more recent than the one in the NMISC package.

 
Profile Email
 Quote
paulartcoelho
 09/28/2006 05:17AM  
++---
Junior

Status: offline


Registered: 03/09/2006
Posts: 18
thank you a lot Mike. it worked perfectly.may i ask you the further step?for gmisc i get:softools> cd gmisc
softools> mkpkg -p gmisc
Subdirectory src/gdispcor is up to date
Subdirectory src/gscombine/src/generic is up to date
Subdirectory src/gscombine/src is up to date
Subdirectory src/gscombine is up to date
Subdirectory src/gstandard is up to date
Library libpkg.a is up to date
Object x_gmisc.o is up to date
xc -Nz -p gmisc x_gmisc.o libpkg.a -lsmw -lxtools -liminterp -o xx_gmisc.e
move `xx_gmisc.e' to `gmiscbin$x_gmisc.e'
$copy: cannot create output file `/iraf/extern/gmisc/bin.suse/x_gmisc.e'
$move: cannot create `/iraf/extern/gmisc/bin.suse/x_gmisc.e'
Warning, mkpkg line 19: error moving file xx_gmisc.e
Warning, mkpkg line 8: module `install' not found or returned error
Warning, mkpkg line 3: module `update@src' not found or returned errorwhat's the deal here?cheers
paula

 
Profile Email
 Quote
fitz
 09/28/2006 05:17AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You need to first do a[code:1:95972c4cda]mkpkg -p gmisc suse[/code:1:95972c4cda]to set the package architecture. This will also create a 'bin.suse' directory for the binary which I suspect doesn't yet exist and so causes the error.-Mike

 
Profile Email
 Quote
paulartcoelho
 09/28/2006 05:17AM  
++---
Junior

Status: offline


Registered: 03/09/2006
Posts: 18
it worked perfectly MIke. thx a lot (once more).

 
Profile Email
 Quote
   
Content generated in: 0.16 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login