All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Ton <anthony.ton@ericsson.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: "ltp-list@lists.sourceforge.net" <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] FW: LTP check_mqns_enable.c missing mqueue.h file
Date: Thu, 18 Mar 2010 20:34:03 -0400	[thread overview]
Message-ID: <E0B6230F32558E43951AF1B0DEBF98102119D20ED5@EUSAACMS0714.eamcs.ericsson.se> (raw)
In-Reply-To: <364299f41003181727g547af140j706e6f296f88db27@mail.gmail.com>

My apology to Serge.  Thank you, Serge, and the whole LTP team.
Regards,
Anthony

-----Original Message-----
From: Garrett Cooper [mailto:yanegomi@gmail.com] 
Sent: Thursday, March 18, 2010 5:28 PM
To: Anthony Ton
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] FW: LTP check_mqns_enable.c missing mqueue.h file

On Thu, Mar 18, 2010 at 5:11 PM, Anthony Ton <anthony.ton@ericsson.com> wrote:
>
> Hi Garrett,
> Thanks for your help.  I can get the LTP compiling and running now.
> Regards,
> Anthony
> -----Original Message-----
> From: Garrett Cooper [mailto:yanegomi@gmail.com]
> Sent: Thursday, March 18, 2010 12:09 PM
> To: Anthony Ton
> Cc: Rishikesh K Rajak; ltp-list@lists.sourceforge.net
> Subject: Re: [LTP] FW: LTP check_mqns_enable.c missing mqueue.h file
>
> On Thu, Mar 18, 2010 at 10:44 AM, Anthony Ton <anthony.ton@ericsson.com> wrote:
>> Hi Rishikesh,
>> I download the version you mentioned; however, the problem still exists.
>> Please see the attached file for trace output.
>> Thanks,
>> Anthony
>>
>> -----Original Message-----
>> From: Rishikesh K Rajak [mailto:risrajak@linux.vnet.ibm.com]
>> Sent: Wednesday, March 17, 2010 10:44 PM
>> To: Anthony Ton
>> Cc: ltp-list@lists.sourceforge.net
>> Subject: Re: [LTP] FW: LTP check_mqns_enable.c missing mqueue.h file
>>
>>
>> Hi Anthony,
>>
>> can you please try latest release which has been released yesterday  and let us know the result. Then we can fix this fast if such problem is still there.
>>
>> You can download it from here:
>> https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100228.
>> 1
>> /ltp-full-20100228.1.tgz/download
>>
>> Or You can clone through git also.
>>
>> # git clone git://ltp.git.sourceforge.net/gitroot/ltp/ltp-dev.git
>> ltp-dev
>>
>> Thanks for reporting this failure.
>>
>> -Rishi
>>>Hi,
>>>
>>>I am using the latest version of LTP ltp-full-20100228.  During make 
>>>all, the compile check_mqns_enable.c complains "mqueue.h: No such file or directory."
>>>Could you please
>>>+tell me how to fix this?
>>>I am greatly appreciate your help.
>>>>
>>>Regards,
>>>Anthony Ton
>>>
>>>Error output:
>>>=========
>>>ar -rc "libclone.a" libclone.o
>>>ranlib "libclone.a"
>>>>make[5]: Leaving directory
>> `/home/etonant/linux-test-project/ltp-full-20100228/testcases/kernel/containers/libclone'
>>>>gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
>>>-I/home/etonant/linux-test-project/ltp-full-20100228/testcases/kernel
>>>/
>>>i
>>>nclude
>>>+-I/home/etonant/linux-test-project/ltp-full-20100228/testcases/kerne
>>>+l
>>>+/
>>>+containers/mqns/../libclone
>>>-I../../../../include -I../../../../include
>>>+-L/home/etonant/linux-test-project/ltp-full-20100228/testcases/kerne
>>>+l
>>>+/
>>>+containers/mqns/../libclone
>>>-L../../../../lib  check_mqns_enabled.c  -lpthread -lrt -lclone -lltp 
>>>-o
>>>>+check_mqns_enabled
>>>In file included from check_mqns_enabled.c:25:
>>>mqns.h:5:20: mqueue.h: No such file or directory
>>>check_mqns_enabled.c: In function `main':
>>>check_mqns_enabled.c:35: error: `mqd_t' undeclared (first use in this
>>>function)
>>>>check_mqns_enabled.c:35: error: (Each undeclared identifier is 
>>>>reported only
>>>once
>>>check_mqns_enabled.c:35: error: for each function it appears in.)
>>>check_mqns_enabled.c:35: error: syntax error before "mqd"
>>>>check_mqns_enabled.c:40: warning: implicit declaration of function `mq_unlink'
>>>check_mqns_enabled.c:41: error: `mqd' undeclared (first use in this
>>>function)
>>>check_mqns_enabled.c:41: warning: implicit declaration of function `mq_open'
>>>check_mqns_enabled.c:41: error: `O_RDWR' undeclared (first use in 
>>>this
>>>function)
>>>check_mqns_enabled.c:41: error: `O_CREAT' undeclared (first use in 
>>>this
>>>function)
>>>check_mqns_enabled.c:41: error: `O_EXCL' undeclared (first use in 
>>>this
>>>function)
>>>>check_mqns_enabled.c:46: warning: implicit declaration of function `mq_close'
>>>make[4]: *** [check_mqns_enabled] Error 1
>>>make[4]: Leaving directory
>>>`/home/etonant/linux-test-project/ltp-full-20100228/testcases/kernel/containers/mqns'
>>>make[3]: *** [all] Error 2
>>>make[3]: Leaving directory
>>>`/home/etonant/linux-test-project/ltp-full-20100228/testcases/kernel/containers'
>>>>make[2]: *** [all] Error 2
>>>make[2]: Leaving directory
>>>`/home/etonant/linux-test-project/ltp-full-20100228/testcases/kernel'
>>>make[1]: *** [all] Error 2
>>>make[1]: Leaving directory
>>>`/home/etonant/linux-test-project/ltp-full-20100228/testcases'
>>>make: *** [testcases-all] Error 2
>>>etonant@lxlogin-4-300
>
> As Serge so eloquently put it, the problem is that you don't have your glibc headers installed.

Don't thank me -- thank Serge ;)...
-Garrett

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2010-03-19  0:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 23:20 [LTP] FW: LTP check_mqns_enable.c missing mqueue.h file Anthony Ton
2010-03-18  5:44 ` Rishikesh K Rajak
2010-03-18 17:44   ` Anthony Ton
2010-03-18 19:09     ` Garrett Cooper
2010-03-19  0:11       ` Anthony Ton
2010-03-19  0:27         ` Garrett Cooper
2010-03-19  0:34           ` Anthony Ton [this message]
2010-03-18 14:39 ` Serge E. Hallyn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E0B6230F32558E43951AF1B0DEBF98102119D20ED5@EUSAACMS0714.eamcs.ericsson.se \
    --to=anthony.ton@ericsson.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=yanegomi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.