Error compiling RPM package(rpm version: 4.16.0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[root@10 ~]# cat /etc/redhat-release

CentOS Linux release 7.0.1406 (Core)

 

[root@10 test]# tar -xf rpm-4.16.0.t

[root@10 test]# cd rpm-4.16.0/

[root@10 rpm-4.16.0]# ./configure --prefix=/usr --without-lua

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /usr/bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether make supports nested variables... yes

………………….

………………….

config.status: executing libtool commands

config.status: executing po-directories commands

config.status: creating po/POTFILES

config.status: creating po/Makefile

[root@10 rpm-4.16.0]# make

/usr/bin/install -c -m 644 ./rpmio/argv.h include/rpm/argv.h

/usr/bin/install -c -m 644 ./rpmio/rpmio.h include/rpm/rpmio.h

/usr/bin/install -c -m 644 ./rpmio/rpmurl.h include/rpm/rpmurl.h

………………….

…………………

make[2]: Entering directory `/root/test/rpm-4.16.0/build'

depbase=`echo build.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\

/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H   -I.. -I.. -I../include/ -I../misc  -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -fno-strict-aliasing -fstack-protector -Wempty-body -fopenmp -g -O2 -MT build.lo -MD -MP -MF $depbase.Tpo -c -o build.lo build.c &&\

mv -f $depbase.Tpo $depbase.Plo

libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -I../include/ -I../misc -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -fno-strict-aliasing -fstack-protector -Wempty-body -fopenmp -g -O2 -MT build.lo -MD -MP -MF .deps/build.Tpo -c build.c  -fPIC -DPIC -o .libs/build.o

depbase=`echo files.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\

/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H   -I.. -I.. -I../include/ -I../misc  -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -fno-strict-aliasing -fstack-protector -Wempty-body -fopenmp -g -O2 -MT files.lo -MD -MP -MF $depbase.Tpo -c -o files.lo files.c &&\

mv -f $depbase.Tpo $depbase.Plo

libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -I../include/ -I../misc -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -fno-strict-aliasing -fstack-protector -Wempty-body -fopenmp -g -O2 -MT files.lo -MD -MP -MF .deps/files.Tpo -c files.c  -fPIC -DPIC -o .libs/files.o

depbase=`echo misc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\

/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H   -I.. -I.. -I../include/ -I../misc  -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -fno-strict-aliasing -fstack-protector -Wempty-body -fopenmp -g -O2 -MT misc.lo -MD -MP -MF $depbase.Tpo -c -o misc.lo misc.c &&\

mv -f $depbase.Tpo $depbase.Plo

libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -I../include/ -I../misc -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -fno-strict-aliasing -fstack-protector -Wempty-body -fopenmp -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c  -fPIC -DPIC -o .libs/misc.o

depbase=`echo pack.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\

/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H   -I.. -I.. -I../include/ -I../misc  -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -fno-strict-aliasing -fstack-protector -Wempty-body -fopenmp -g -O2 -MT pack.lo -MD -MP -MF $depbase.Tpo -c -o pack.lo pack.c &&\

mv -f $depbase.Tpo $depbase.Plo

libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -I../include/ -I../misc -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -fno-strict-aliasing -fstack-protector -Wempty-body -fopenmp -g -O2 -MT pack.lo -MD -MP -MF .deps/pack.Tpo -c pack.c  -fPIC -DPIC -o .libs/pack.o

pack.c: In function ‘packageBinaries’:

pack.c:769:26: error: expected ‘#pragma omp’ clause before ‘priority’

  #pragma omp task untied priority(i)

                          ^

make[2]: *** [pack.lo] Error 1

make[2]: Leaving directory `/root/test/rpm-4.16.0/build'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/test/rpm-4.16.0'

make: *** [all] Error 2

[root@10 rpm-4.16.0]#

Why ?

 

Thanks &Regards

Qingui Liang |AC|R & D Engineer

 

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux