Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147461 - net-dialup/capifwd not working on amd64 (because of 8byte long type)
Summary: net-dialup/capifwd not working on amd64 (because of 8byte long type)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 08:43 UTC by Michael Wyraz
Modified: 2007-02-03 00:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Wyraz 2006-09-13 08:43:55 UTC
capifw compiles fine on amd64 (execpt the small error in bug #) but clients cannot connect.
the problem is that the protocol uses some "unsigned long" and "long" values. these values are 8byte long on 64bit systems.

temporary solution:
- in src/protocol.h remove any "long" keyword

final solution:
- change the protocol data types to platform independent values. requirements for the types are documented in the initial comment in protocol.h
- test the solution :)
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2007-02-03 00:41:28 UTC
fixed in 0.6.3-r1, thanks!