nagyistoce / mytunet

Automatically exported from code.google.com/p/mytunet
0 stars 0 forks source link

Mytunet终端程序在64位系统下的编译。 #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
编译可以通过,但是默认是不能正常运行的。
解决方法如下:
定位于这三个文件:
os.h、md5.h和des.h,将所有的typedef中的long换为int,long 
int换为int。

已经测试通过,系统:Mac OS X 10.6 with 64-bit kernel。

原因:32位系统的long是4字节,64位系统为8字节,其他不变。

Original issue reported on code.google.com by mingocha...@gmail.com on 10 Oct 2009 at 12:32

GoogleCodeExporter commented 9 years ago
现在全部改用uintN_t和intN_t,定义在stdint.h之中,是C99标准的��
�部分。
目前在32位的FreeBSD和Fedora 
11上测试通过,能够正常登陆。请测试一下,Mac OS X上能否正
常编译运行。
目前还未在64位系统上进行测试,限于条件。

Original comment by Henry.Hu...@gmail.com on 1 Mar 2010 at 12:45

GoogleCodeExporter commented 9 years ago
现在大家都不用64位的linux吗?现在的计算机应该都支持64位��
�吧。
谁能出一个64位ubuntu 10.04能用的,有802.1认证的qtunet.

Original comment by liqing....@gmail.com on 5 May 2010 at 2:37

GoogleCodeExporter commented 9 years ago
昨天编译了一下,mingochang1506的方法是有效的。

Henry所说“全部改用uintN_t和intN_t”,在源代码中未能查到。

Original comment by xunhua....@gmail.com on 1 Sep 2010 at 12:25

GoogleCodeExporter commented 9 years ago
SVN 代码库里新版本应用了 Henry 
的修改。只是没有打包一个新的源码包供下载。
现在网费计费系统即将升级,紫荆正在试行,旧版(包括官��
�的) TUNET 都无效了。

Original comment by alick9...@gmail.com on 27 Dec 2011 at 11:13