I was able to resolve the problem.

Thanks everybody for your help,

Regards,
Christina.

2009/4/27 Christina Patrick <[email protected]>:
> Thank you Phil and Sumit. I didn't know about the V=1 option.
> I guess will be asking more questions regarding the makefiles since I
> am not too familiar with the pvfs build environment.
>
> Thanks and Regards,
> Christina.
>
> On Mon, Apr 27, 2009 at 3:42 PM, Phil Carns <[email protected]> wrote:
>> Sure thing.  When you run "make", just add "V=1" to your command line
>> arguments.  That will show all of the compilation details.
>>
>> -Phil
>>
>> Christina Patrick wrote:
>>>
>>> Hi,
>>>
>>> I guess the error is because the definitions are not reaching all the
>>> files in which the file quicklist.h is included. However, I cannot see
>>> a detailed list of the compilation output used in pvfs such as the
>>> include directories, cflags, linker options etc. Is there any way for
>>> me to see such a detailed output so that I can modify the makefiles?
>>>
>>> If anybody knows about the pvfs build environment, could you please help
>>> me?
>>>
>>> Thanks,
>>> Christina.
>>>
>>> On Sat, Apr 25, 2009 at 6:32 PM, Christina Patrick
>>> <[email protected]> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am currently adding some new routines to pvfs. When I write the
>>>> routines in a standalone file and compile them against the pvfs src
>>>> tree, I don't get any compile errors. When I include these routines in
>>>> the quicklist.h file and call it from the
>>>>
>>>> bmi_send_callback_fn:src/io/flow/flowproto-bmi-trove/flowproto-multiqueue.c
>>>> and then compile it, I am getting the below compilation errors. I dont
>>>> understand why this is happening since the the routines work fine when
>>>> the program is stand-alone. The compile output of pvfs is not visible
>>>> on the screen. Please help me debug this problem?
>>>>
>>>> The file is attached in this email. I copied the contents of this file
>>>> (except main and some other data structures which are already defined
>>>> in pvfs) in the file quicklist.h.
>>>>
>>>> $ make 2>&1 | tee make.log
>>>>  CC            src/server/pvfs2-server-server.o
>>>> In file included from ./src/io/flow/flow.h:15,
>>>>                from ./src/io/job/job.h:14,
>>>>                from src/server/pvfs2-server.c:30:
>>>> ./src/common/quicklist/quicklist.h: In function āalloc_prefetch_elementā:
>>>> ./src/common/quicklist/quicklist.h:280: error: invalid application of
>>>> āsizeofā to incomplete type āstruct result_chain_entryā
>>>> ./src/common/quicklist/quicklist.h:287: error: invalid application of
>>>> āsizeofā to incomplete type āstruct result_chain_entryā
>>>> ./src/common/quicklist/quicklist.h:288: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:288: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:289: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:289: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:291: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:292: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:292: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h: In function āprefetch_data_presentā:
>>>> ./src/common/quicklist/quicklist.h:338: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:339: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:339: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:345: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:345: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:348: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:349: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:349: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:351: error: dereferencing pointer
>>>> to incomplete type
>>>> ./src/common/quicklist/quicklist.h:351: error: dereferencing pointer
>>>> to incomplete type
>>>> make: *** [src/server/pvfs2-server-server.o] Error 1
>>>>
>>>> Thanks and Regards,
>>>> Christina.
>>>>
>>>
>>> _______________________________________________
>>> Pvfs2-developers mailing list
>>> [email protected]
>>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>>
>

_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to