You are not logged in.

#1 2008-07-29 02:18:56

Phrodo_00
Member
From: Santiago de Chile
Registered: 2006-04-09
Posts: 340
Website

[request] cryopid - hibernate a single process

Hey... I'm giving up... I cant't find why it won't compile... should be dependences issues. here goes what I got:

# Contributor: Javier «Phrodo_00» Aravena <phrodo.00@gmail.com>
pkgname=cryopid
pkgver=0.5.9.1
pkgrel=1
pkgdesc="Save the status of a process into an executable"
arch=('i686' 'x86_64')
url="http://cryopid.berlios.de/"
license=('GPL')
depends=('chpax')
install=
source=("http://dagobah.ucc.asn.au/wacky/${pkgname}-${pkgver}-i386.tar.gz")
md5sums=('daea8ec24cc7b8c147f9f7cfb74a061e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}/src"

  make || return 1
  install -m755 -d freeze ${pkgdir}/usr/bin/freeze
}

# vim:set ts=2 sw=2 et:

Offline

#2 2008-07-29 05:59:44

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request] cryopid - hibernate a single process

What error messages are you getting?

Offline

#3 2008-07-29 06:25:39

Square
Member
Registered: 2008-06-11
Posts: 424

Re: [request] cryopid - hibernate a single process

Tried to compile and got:

cp_r_regs.c:1:24: error: linux/user.h: No such file or directory
cp_r_regs.c: In function 'load_chunk_regs':
cp_r_regs.c:17: error: dereferencing pointer to incomplete type
cp_r_regs.c:21: error: 'PAGE_SIZE' undeclared (first use in this functio
cp_r_regs.c:21: error: (Each undeclared identifier is reported only once
cp_r_regs.c:21: error: for each function it appears in.)
cp_r_regs.c:27: error: dereferencing pointer to incomplete type
cp_r_regs.c:28: error: dereferencing pointer to incomplete type
cp_r_regs.c:28: error: dereferencing pointer to incomplete type
cp_r_regs.c:31: error: dereferencing pointer to incomplete type
cp_r_regs.c:32: error: dereferencing pointer to incomplete type
cp_r_regs.c:36: error: dereferencing pointer to incomplete type
cp_r_regs.c:37: error: dereferencing pointer to incomplete type
cp_r_regs.c:63: error: dereferencing pointer to incomplete type
cp_r_regs.c:64: error: dereferencing pointer to incomplete type
cp_r_regs.c:65: error: dereferencing pointer to incomplete type
cp_r_regs.c:66: error: dereferencing pointer to incomplete type
cp_r_regs.c:67: error: dereferencing pointer to incomplete type
cp_r_regs.c:84: error: dereferencing pointer to incomplete type
cp_r_regs.c:85: error: dereferencing pointer to incomplete type
cp_r_regs.c:86: error: dereferencing pointer to incomplete type
cp_r_regs.c:92: error: dereferencing pointer to incomplete type
cp_r_regs.c:93: error: dereferencing pointer to incomplete type
cp_r_regs.c:94: error: dereferencing pointer to incomplete type
cp_r_regs.c:93: error: invalid lvalue in asm output 0
cp_r_regs.c: In function 'read_chunk_regs':
cp_r_regs.c:102: error: storage size of 'user' isn't known
cp_r_regs.c:104: error: invalid application of 'sizeof' to incomplete ty
ct user' 
cp_r_regs.c:102: warning: unused variable 'user'
make[1]: *** [cp_r_regs.o] Error 1
make[1]: Leaving directory `/home/square/abs/cryopid/src/cryopid-0.5.9.1h-i386'
make: *** [arch] Error 2

It looks like a file (user.h) is missing from the source tarball. hmm
Along with other things not right... perhaps.

Last edited by Square (2008-07-29 06:26:12)


 

Offline

Board footer

Powered by FluxBB