Menu

#28 Error compiling

build errors
closed-fixed
nobody
None
5
2018-03-17
2006-01-01
Robin Cook
No

GCC 4.0.2
Kernel 2.6.14.5

if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/i386
-I./linux/i386 -Ilinux -I./linux -Wall -O
-march=athlon-tbird -mmmx -m3dnow -pipe -O3 -MT
resource.o -MD -MP -MF ".deps/resource.Tpo" -c -o
resource.o resource.c; \ then mv -f ".deps/resource.Tpo" ".deps/resource.Po";
else rm -f ".deps/resource.Tpo"; exit 1; fi
resource.c:478: error: 'Q_SETUSE' undeclared here (not
in a function)
resource.c:480: error: 'Q_SETQLIM' undeclared here (not
in a function)
resource.c:481: error: 'Q_GETSTATS' undeclared here
(not in a function)
resource.c:482: error: 'Q_RSQUASH' undeclared here (not
in a function)
resource.c: In function 'sys_quotactl':
resource.c:538: warning: format '%u' expects type
'unsigned int', but argument 2 has type 'u_int64_t'
resource.c:539: warning: format '%u' expects type
'unsigned int', but argument 2 has type 'u_int64_t'
resource.c:540: error: 'struct dqblk' has no member
named 'dqb_curblocks'
resource.c:540: warning: format '%u' expects type
'unsigned int', but argument 2 has type 'const struct
xlat *'
resource.c:541: warning: format '%u' expects type
'unsigned int', but argument 2 has type 'u_int64_t'
resource.c:542: warning: format '%u' expects type
'unsigned int', but argument 2 has type 'u_int64_t'
resource.c:543: warning: format '%u' expects type
'unsigned int', but argument 2 has type 'u_int64_t'
resource.c:544: warning: format '%lu' expects type
'long unsigned int', but argument 2 has type 'u_int64_t'
resource.c:545: warning: format '%lu' expects type
'long unsigned int', but argument 2 has type 'u_int64_t'
make[1]: *** [resource.o] Error 1
make: *** [all] Error 2
make[1]: Leaving directory `/usr/src/strace-4.5.12'

Discussion

  • Nobody/Anonymous

    Logged In: NO

    http://www.mail-archive.com/patches@linuxfromscratch.org/
    msg00525.html

     
  • Eugene Syromyatnikov

    • status: open --> closed-fixed
    • Group: --> build errors
     
  • Eugene Syromyatnikov

    Fixed in e806ac29eef0c848b54532ac4c5a9d8e2e2c4208.