bugTransport Sample Protocol - Bugs: bug #23704, Compilation errors on x86_64 box

 
 

bug #23704: Compilation errors on x86_64 box

Submitted by:  Eric NOULARD <erk>
Submitted on:  Wed 25 Jun 2008 10:37:32 AM UTC  
 
Category:  tspfs Severity:  4 - Important
Status:  Ready For Test Privacy:  Public
Assigned to:  Frederik Deweerdt <deweerdt> Open/Closed:  Open
Release:  0.8.3 Fixed Release:  NextRelease

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 25 Jun 2008 01:11:50 PM UTC, comment #2: 

It's fine for me.
Go ahead apply it.

Eric NOULARD <erk>
Project Administrator
Wed 25 Jun 2008 12:10:06 PM UTC, comment #1: 

The attached patch should fix the problem. I'll commit if it's ok for you.
This also fixes an _GNU_SOURCE redefinition issue in case we decide to define _GNU_SOURCE in case we're compiling with GCC.

(file #15942)

Frederik Deweerdt <deweerdt>
Project AdministratorIn charge of this item.
Wed 25 Jun 2008 10:37:32 AM UTC, original submission:  

tspfs does not compile on x86_64.
I encounter 2 trouble

1) size mismatch between void* and int
   used in hsearch

2) compilation error (using gcc 4.3.1)

tspfs.c:233: error: invalid storage class for function ‘is_tsp_symbol’
tspfs.c:238: error: invalid storage class for function ‘tspfs_destroy’
tspfs.c:267: error: invalid storage class for function ‘tspfs_init_connect’
...

I have no time to fix this yet.

Eric NOULARD <erk>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #15942:  tspfs.patch added by deweerdt (3KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by deweerdt (Updated the item)
  • -email is unavailable- added by erk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-25 deweerdt Severity3 - Normal => 4 - Important
        StatusNone => Ready For Test
        Assigned toNone => deweerdt
        Fixed ReleaseUnknown => NextRelease
    2008-06-25 deweerdt Attached File- => Added tspfs.patch, #15942

    Back to the top


    Powered by Savane 3.5