** Description changed:

  Binary package hint: atftpd
  
  I have been busy booting my PC over network in order to install windows 2000 
  on it. The guide i found here was very usefull:
  http://oss.netfarm.it/guides/ris-linux.php
  http://oss.netfarm.it/guides/ris-linux.pdf
  
  In order to let atftpd cope with case insensivity and backslahses, there's a 
  patch available. This meant recompiling atftpd from source. This doesn't work 
  out of the box, the symbol CLK_TCK in the file stats.c must be replaced by 
  CLOCKS_PER_SEC
  
  Could you please report this upstream?
  Best regards,
  Cedric
  
  [EMAIL PROTECTED]:~# apt-get update
  ... lots of not interresting lines
  [EMAIL PROTECTED]:~# apt-get source atftpd
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Need to get 215kB of source archives.
  Get:1 http://nl.archive.ubuntu.com feisty/universe atftp 0.7.dfsg-1 (dsc) 
  [631B]
  Get:2 http://nl.archive.ubuntu.com feisty/universe atftp 0.7.dfsg-1 (tar) 
  [187kB]
  Get:3 http://nl.archive.ubuntu.com feisty/universe atftp 0.7.dfsg-1 (diff) 
  [27.8kB]
  Fetched 215kB in 0s (268kB/s)
  gpg: Signature made Mon 02 Oct 2006 12:46:55 AM CEST using DSA key ID FD46A698
  gpg: Can't check signature: public key not found
  dpkg-source: extracting atftp in atftp-0.7.dfsg
  dpkg-source: unpacking atftp_0.7.dfsg.orig.tar.gz
  dpkg-source: applying ./atftp_0.7.dfsg-1.diff.gz
  [EMAIL PROTECTED]:~# apt-get build-dep atftpd
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  [EMAIL PROTECTED]:~# cd atftp-0.7.dfsg/
  [EMAIL PROTECTED]:~/atftp-0.7.dfsg# patch -p1 < atftpd-filecase.diff
  patching file tftpd.c
  Hunk #1 succeeded at 659 (offset 4 lines).
  patching file tftpd.h
  patching file tftpd_file.c
  [EMAIL PROTECTED]:~/atftp-0.7.dfsg# dpkg-buildpackage -b
  ... lots of not interresting lines
- gcc  -g -Wall -D_REENTRANT -O2   -o atftp  tftp.o tftp_io.o logger.o 
options.o 
+ gcc  -g -Wall -D_REENTRANT -O2   -o atftp  tftp.o tftp_io.o logger.o 
options.o 
  tftp_def.o tftp_f
- if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -Wall -D_REENTRANT -O2 -MT 
+ if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -Wall -D_REENTRANT -O2 -MT 
  tftpd.o -MD -MP -MF ".deps/
-         then mv -f ".deps/tftpd.Tpo" ".deps/tftpd.Po"; else 
+         then mv -f ".deps/tftpd.Tpo" ".deps/tftpd.Po"; else 
  rm -f ".deps/tftpd.Tpo"; exit 1; fi
- if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -Wall -D_REENTRANT -O2 -MT 
+ if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -Wall -D_REENTRANT -O2 -MT 
  stats.o -MD -MP -MF ".deps/
-         then mv -f ".deps/stats.Tpo" ".deps/stats.Po"; else 
+         then mv -f ".deps/stats.Tpo" ".deps/stats.Po"; else 
  rm -f ".deps/stats.Tpo"; exit 1; fi
  stats.c: In function ‘stats_print’:
  stats.c:160: error: ‘CLK_TCK’ undeclared (first use in this function)
  stats.c:160: error: (Each undeclared identifier is reported only once
  stats.c:160: error: for each function it appears in.)
  make[3]: *** [stats.o] Error 1
  make[3]: Leaving directory `/root/atftp-0.7.dfsg'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/root/atftp-0.7.dfsg'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/root/atftp-0.7.dfsg'
  make: *** [build-stamp] Error 2
  [EMAIL PROTECTED]:~/atftp-0.7.dfsg#

** Tags added: bitesize

-- 
atftpd doesn't build from source
https://bugs.launchpad.net/bugs/119459
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to