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

 
 

bug #23704: Compilation errors on x86_64 box

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

Add a New Comment Rich Markup
   

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

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

Eric NOULARD <erk>
Group 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>
Group administrator
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>
Group 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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.14-f13d.
    Corresponding source code