[Buildroot] [PATCH resend] stress: new package
Peter Korsgaard
jacmet at uclibc.org
Tue May 1 20:05:24 UTC 2012
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be> writes:
Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Arnout> +++ b/package/stress/stress.mk
Arnout> @@ -0,0 +1,13 @@
Arnout> +#############################################################
Arnout> +#
Arnout> +# stress - a workload generator
Arnout> +#
Arnout> +# http://weather.ou.edu/~apw/projects/stress/
Arnout> +#
Arnout> +#############################################################
Arnout> +
Arnout> +STRESS_VERSION = 1.0.4
Arnout> +STRESS_SITE = http://weather.ou.edu/~apw/projects/stress
Arnout> +STRESS_SOURCE = stress-$(STRESS_VERSION).tar.gz
.tar.gz is default, so you could get rid of this line.
Arnout> +
Arnout> +$(eval $(call AUTOTARGETS))
Arnout> \ No newline at end of file
Please add a newline after AUTOTARGETS))
But more importantly, it seem to need largefile support:
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"stress\" -DVERSION=\"1.0.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -Os -MT stress.o -MD -MP -MF .deps/stress.Tpo -c -o stress.o stress.c
In file included from /home/peko/source/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include/ctype.h:27:0,
from stress.c:21:
/home/peko/source/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
error: #error It appears you have defined
_FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file
support enabled.
Care to fix and resend?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list