Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49878 - sys-apps/gpart-0.1h gm_ntfs.c:63: error: `ntfs_u32' undeclared
Summary: sys-apps/gpart-0.1h gm_ntfs.c:63: error: `ntfs_u32' undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 74263 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-03 11:46 UTC by Hans-Christian Armingeon
Modified: 2005-02-11 17:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gpart-0.1h-reiserfs-3.6.patch (gpart-0.1h-reiserfs-3.6.patch,14.14 KB, patch)
2004-12-01 17:31 UTC, David Grant
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-05-03 11:46:18 UTC
Hi,

I wanted to install gpart, but it failed.


# emerge -u gpart
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/gpart-0.1h to /
>>> md5 src_uri ;-) gpart-0.1h.tar.gz
>>> Unpacking source...
>>> Unpacking gpart-0.1h.tar.gz to /var/tmp/portage/gpart-0.1h/work
 * Applying gpart-0.1h-errno.diff...                                                                                        [ ok ]
>>> Source unpacked.
make -C src
make[1]: Entering directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
make[1]: Leaving directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
make[1]: Entering directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gpart.o gpart.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gmodules.o gmodules.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o disku.o disku.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o l64seek.o l64seek.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_ext2.o gm_ext2.c
gpart.c:72: warning: built-in function `log' declared as non-function
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_lswap.o gm_lswap.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_fat.o gm_fat.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_bsddl.o gm_bsddl.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_ntfs.o gm_ntfs.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_hpfs.o gm_hpfs.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_s86dl.o gm_s86dl.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_minix.o gm_minix.c
gm_ntfs.c: In function `ntfs_gfun':
gm_ntfs.c:63: error: `ntfs_u32' undeclared (first use in this function)
gm_ntfs.c:63: error: (Each undeclared identifier is reported only once
gm_ntfs.c:63: error: for each function it appears in.)
gm_ntfs.c:63: error: syntax error before ')' token
gm_ntfs.c:65: error: syntax error before ')' token
gm_ntfs.c:68: error: `ntfs_u16' undeclared (first use in this function)
gm_ntfs.c:68: error: syntax error before ')' token
gm_ntfs.c:69: error: `ntfs_u8' undeclared (first use in this function)
gm_ntfs.c:69: error: syntax error before ')' token
gm_ntfs.c:74: error: `ntfs_u64' undeclared (first use in this function)
gm_ntfs.c:74: error: syntax error before ')' token
make[1]: *** [gm_ntfs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
make: *** [gpart] Error 2

!!! ERROR: sys-apps/gpart-0.1h failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)


Any pointers?

Johnny

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 
2.6.3-gentoo-r2) 
================================================================= 
System uname: 2.6.3-gentoo-r2 x86_64 5 
Gentoo Base System version 1.4.9 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j5" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="acl acpi amd64 apache2 apm arts avi berkdb cdr crypt cscope cups dvd dvdr 
encode esd fam foomaticdb gd gdbm gif gnome gpm gtk gtk2 imap imlib ipv6 jpeg 
ldap libg++ libwww maildir mbox memlimit mikmod motif mozilla mpeg mysql 
ncurses nls nogcj obdc oggvorbis opengl oss pam pdflib perl png pnp postgres 
ppds prelude python quicktime readline samba sasl sdl slang slp snmp socks5 
spell ssl tcpd tiff truetype usb wmf xml2 xmms xv zlib"
Comment 1 David Grant 2004-12-01 17:31:17 UTC
Created attachment 45101 [details, diff]
gpart-0.1h-reiserfs-3.6.patch

here's the patch from namesys's site

It is not just a rename from rfs to reiserfs Spanky
Comment 2 David Grant 2004-12-01 17:36:39 UTC
sorry wrong bug
Comment 3 SpanKY gentoo-dev 2005-01-28 23:08:41 UTC
*** Bug 74263 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2005-02-11 17:24:15 UTC
grab patch from debian and fixed in gpart-0.1h-r1