[LU-4071] build error with unnecessary semicolon Created: 06/Oct/13 Updated: 14/Aug/14 Resolved: 25/Oct/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.1 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Shuichi Ihara (Inactive) | Assignee: | Minh Diep |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Environment: |
2.4.1, RHEL6.4, patchless client |
||
| Severity: | 3 |
| Rank (Obsolete): | 10909 |
| Description |
mpicc -DHAVE_CONFIG_H -I. -I../../.. -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS -include /usr/src/lustre-2.4.1/config.h -I/usr/src/lustre-2.4.1/libcfs/include -I/usr/src/lustre-2.4.1/lnet/include -I/usr/src/lustre-2.4.1/lustre/include -g -Wall -fPIC -D_GNU_SOURCE -g -O2 -Werror -MT parallel_grouplock.o -MD -MP -MF .deps/parallel_grouplock.Tpo -c -o parallel_grouplock.o parallel_grouplock.c
/usr/src/lustre-2.4.1/libcfs/include/libcfs/posix/libcfs.h(280): error #64: declaration does not declare anything
;
^
compilation aborted for parallel_grouplock.c (code 2)
make[4]: *** [parallel_grouplock.o] Error 2
make[4]: Leaving directory `/usr/src/lustre-2.4.1/lustre/tests/mpi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/lustre-2.4.1/lustre/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/lustre-2.4.1/lustre'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lustre-2.4.1'
make: *** [all] Error 2
|
| Comments |
| Comment by Shuichi Ihara (Inactive) [ 06/Oct/13 ] |
|
build for patchless client failed due to unnecessary semicolon in libcfs.h. |
| Comment by Peter Jones [ 06/Oct/13 ] |
|
Minh Could you please take care of landing this one? Thanks Peter |
| Comment by Shuichi Ihara (Inactive) [ 06/Oct/13 ] |
|
This is correct one. http://review.whamcloud.com/#/c/7864 It seems that this error happens when gcc is installed, but mpicc runs against Intel compiler. A quick workaround is replacing Intel compiler with gcc for mpicc, but something need to change environment. |
| Comment by Peter Jones [ 25/Oct/13 ] |
|
Landed for 2.6 |
| Comment by Jian Yu [ 14/Aug/14 ] |
|
The issue was fixed in Lustre 2.5.2 by http://review.whamcloud.com/9678 with a different way. |