Hi Cyril,
I used the following command 
./configure --with-open-posix-testsuite
and hit the following issue.
7632 make-3.81[3]:
Entering directory `/opt/ltp/testcases/open_posix_testsuite'

7633 make-3.81[3]: ***
No rule to make target `/opt/ltp/scripts/generate-makefiles.sh', needed by
`conformance/interfaces/timer_settime/Makefile'.  Stop.Neither I moved the 
files from one place to another place and Nor modified any of the Makefiles.
Thanks & Regards,

Devraj

+91-9900516693


From: [email protected]
Sent: Wed, 21 Aug 2013 20:42:07 
To: devaraja b v <[email protected]>
Cc: shubham <[email protected]>, ltp-list 
<[email protected]>
Subject: Re: [LTP] open posix testsuite compilation
Hi!

> PFB the steps I followed to compile open_posix_testsuite under LTP.I had 
placed ltp-full-20130109 directory under the following path in my work space in 
development host./nb/devraj/realtime/nv/ct/ltp/ltp-full-20130109I have a main 
Makefile in /nb/devraj/realtime/nv/ct/ltp path which will trigger 
ltp-full-20130109's configuration, make all and make install and build will go 
successful all the time and I am able to run LTP on my device with these 
binaries created.since open_posix_testsuite is FILTER_OUT from default build 
through /nb/devraj/realtime/nv/ct/ltp/ltp-full-20130109/testcases/Makefile, so 
I have enabled the build by the following changes at this Makefile and given 
for the build.

> #ifneq ($(WITH_OPEN_POSIX_TESTSUITE),yes)#FILTER_OUT_DIRS   
      += open_posix_testsuite#endif

> I got the following issues  *** No rule to make target 
`/nb/devraj/realtime/nv/ct/ltp/ltp-full-20130109/scripts/generate-makefiles.sh',
 needed by `conformance/interfaces/timer_settime/Makefile'.  Stop.so I 
copied the 
/nb/devraj/realtime/nv/ct/ltp/ltp-full-20130109/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
 script to nb/devraj/realtime/nv/ct/ltp/ltp-full-20130109/scripts path and this 
issue got resolved.

> Again I got the following issues*** No rule to make target 
`/nb/devraj/realtime/nv/ct/ltp/ltp-full-20130109/CFLAGS', needed by 
`conformance/interfaces/timer_settime/Makefile'.  Stop.So I copied the 
/nb/devraj/realtime/nv/ct/ltp/ltp-full-20130109/testcases/open_posix_testsuite/CFLAGS
 file to nb/devraj/realtime/nv/ct/ltp/ltp-full-20130109/ path and this issue 
got resolved.

> Same issues repeated for LDFLAGS and LDLIBS and those are resolved by 
copying these files to /nb/devraj/realtime/nv/ct/ltp/ltp-full-20130109 path.



You should not touch the Makefiles nor copy any files to the tree.



You can either enable Open Posix Testsuite build by:



./configure --with-open-posix-testsuite

make



or compile it directly by

cd testcases/open_posix_testsuite/

make



-- 

Cyril Hrubis

[email protected]

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to