Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 20 Sep 2018, 22:46
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
'Make' errors & missing libncurse compiling testdisk-7.0-WIP
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
B.K. Johnson

Joined: 12 Oct 2009
Posts: 667

PostPosted: Sun 13 Jul 2014, 00:53    Post subject:  'Make' errors & missing libncurse compiling testdisk-7.0-WIP
Subject description: 2 'Make' errors & missing libcurses despite compile/install

My setup is frugal install from flash drive using LxPup-14.03.1/Slacko. I am attempting to create my first pet and have run into a problem that I hope the community can assist me in solving.

The source for TestDisk-7.0-WIP was downloaded from the TestDisk website. Dependencies identified were libncurses, Ext2fs, EWF, Iconv, Jpeg, NTFS, Reiserfs, zlib but that they were all likely to be in the operating system. I assumed they were in puppy but turned out not to be so.

Make processing ended with 2 errors (see end of post). Consequently, I didn't expect a working pet but continued the process to completion for the experience. A testdisk-7.0-WIP-i686.pet was created, the new '.specs' file was found in testdisk-7.0-WIP-i686 and the new '.desktop' file in testdisk-7.0-WIP-i686/usr/share/applications/ as stated. The pet was installed and name and icon appeared correctly in the menu. However, despite compiling and installing ncurses, the dependency checker reported libncurses missing from the pet. And when checking the /usr/bin, /usr/lib/, /usr/include/, /usr/man and /usr/share/terminfo directories to confirm the ncurses installation, I saw other ncurses files.

A pet made before the ncurses installation was uninstalled correctly from the PPM, so I am confident I'll be ok when the make errors and missing libncurses dependency error is solved.

LXTerminal buffer is not large enough to capture the entire output. FWIW, here is the last 30 or so lines of the make output.

gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -MT file_xz.o -MD -MP -MF .deps/file_xz.Tpo -c -o file_xz.o file_xz.c
file_xz.c: In function ‘header_check_xz’:
file_xz.c:57:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter]
file_xz.c:57:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter]
file_xz.c:57:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter]
mv -f .deps/file_xz.Tpo .deps/file_xz.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -MT file_zip.o -MD -MP -MF .deps/file_zip.Tpo -c -o file_zip.o file_zip.c
mv -f .deps/file_zip.Tpo .deps/file_zip.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -MT partgptro.o -MD -MP -MF .deps/partgptro.Tpo -c -o partgptro.o partgptro.c
partgptro.c: In function ‘write_part_gpt’:
partgptro.c:32:28: warning: unused parameter ‘disk_car’ [-Wunused-parameter]
partgptro.c:32:57: warning: unused parameter ‘list_part’ [-Wunused-parameter]
partgptro.c:32:92: warning: unused parameter ‘verbose’ [-Wunused-parameter]
mv -f .deps/partgptro.Tpo .deps/partgptro.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -MT suspend_no.o -MD -MP -MF .deps/suspend_no.Tpo -c -o suspend_no.o suspend_no.c
suspend_no.c: In function ‘suspend_memory’:
suspend_no.c:14:34: warning: unused parameter ‘cinfo’ [-Wunused-parameter]
suspend_no.c: In function ‘resume_memory’:
suspend_no.c:17:32: warning: unused parameter ‘cinfo’ [-Wunused-parameter]
mv -f .deps/suspend_no.Tpo .deps/suspend_no.Po
gcc  -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code    -o photorec phmain.o photorec.o phcfg.o addpart.o chgarch.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o phcli.o poptions.o sessionp.o setdate.o dfxml.o  addpartn.o askloc.o chgarchn.o chgtype.o chgtypen.o fat_cluster.o fat_unformat.o geometryn.o hiddenn.o intrfn.o nodisk.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o pbanner.o pblocksize.o pdiskseln.o pfree_whole.o phbf.o phbs.o phnc.o phrecn.o ppartseln.o psearchn.o  filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axx.o file_bac.o file_bim.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bz2.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_db.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_dsc.o file_dss.o file_dta.o file_dump.o file_dv.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_evt.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_flac.o file_flp.o file_flv.o file_fob.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gif.o file_gm6.o file_gp5.o file_gpg.o file_gz.o file_hdf.o file_hds.o file_hfsp.o file_hr9.o file_http.o file_icc.o file_ico.o file_ifo.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jpg.o file_kdb.o file_kdbx.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mrw.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pct.o file_pcx.o file_pdf.o file_pds.o file_pfx.o file_plist.o file_plt.o file_png.o file_pnm.o file_prc.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_stl.o file_stu.o file_swf.o file_tar.o file_tax.o file_tib.o file_tiff.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_veg.o file_vfb.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wim.o file_win.o file_wks.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_xcf.o file_xfi.o file_xm.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_zip.o  autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o  partgptro.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o fat.o fat_common.o fatx.o ext2.o ext2_common.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o   suspend_no.o -lncursesw -ljpeg -lz -luuid -lntfs-3g  -lext2fs -lcom_err
file_db.o:(.rodata+0x0): multiple definition of `file_hint_db'
file_DB.o:(.rodata+0x0): first defined here
file_list.o:(.data+0x20): undefined reference to `file_hint_DB'
collect2: error: ld returned 1 exit status
make[2]: *** [photorec] Error 1
make[2]: Leaving directory `/initrd/mnt/dev_save/tdsrc/testdisk-7.0-WIP/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/initrd/mnt/dev_save/tdsrc/testdisk-7.0-WIP'
make: *** [all] Error 2

B.K. Johnson
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0347s ][ Queries: 11 (0.0034s) ][ GZIP on ]