Compiling rdesktop on Debian Woody
Luke Pascoe <[email protected]> Fri, 15 Jun 2012 10:14:57 +1200
| Newsgroups | gmane.network.rdesktop.devel |
|---|---|
| Message-ID | <CAKYdRA-2MZK8ACSxZsR=hSm1ecA75TQRVSB1ye8OPFJZdKHmMg@mail.gmail.com> |
--===============3613334570248019301== Content-Type: multipart/alternative; boundary=f46d0435bfdea96b3604c2760735 --f46d0435bfdea96b3604c2760735 Content-Type: text/plain; charset=ISO-8859-1 Hello all, I have an oddball problem which requires that I get a modern version of rdesktop compiled for an ancient linux, kind of a computing palaeontology thing. First question is, is the attempt foolhardy? Is it just Not Going to Work(tm)? I am a programmer, but don't write C (yeah yeah, I can hear your abuse from here) although I can read it pretty well. I've got to the stage where ./configure works OK, no warnings or errors, but when I run make I get this: woody:/usr/src/rdesktop-1.7.1# make gcc -g -O2 -Wall -I/usr/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.7.1\" -DPACKAGE_STRING=\"rdesktop\ 1.7.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DL_ENDIAN=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_SYSEXITS_H=1 -Dssldir=\"/usr\" -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DRDPSND_OSS=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DHAVE_STRUCT_STATFS_F_NAMELEN=1 -D_FILE_OFFSET_BITS=64 -DHAVE_MNTENT_H=1 -DHAVE_SETMNTENT=1 -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\" -o rdesktop.o -c rdesktop.c rdesktop.c: In function `main': rdesktop.c:491: parse error before `struct' rdesktop.c:492: `act' undeclared (first use in this function) rdesktop.c:492: (Each undeclared identifier is reported only once rdesktop.c:492: for each function it appears in.) rdesktop.c:911: parse error before `int' rdesktop.c:912: `pwlen' undeclared (first use in this function) make: *** [rdesktop.o] Error 1 I've successfully compiled it in Linux Mint 12, so I know what it's supposed to look like, and I can see I'm not getting very far. As I understand it, "act" is a data structure which, as I can't find a definition in the rdesktop code, must be defined by a library, and the library version that Woody uses doesn't have that structure yet? Am I on the right track? Is there any way round this kind of thing? Any help you can give would be greatly appreciated. Thanks. -- Luke Pascoe * * *E* [email protected] * P* +64 (9) 296 2961 * M* +64 (27) 426 6649 * W* www.osnz.co.nz 24 Wellington St Papakura Auckland, 2110 New Zealand This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002. --f46d0435bfdea96b3604c2760735 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello all,<div><br></div><div>I have an oddball problem which requires that= I get a modern version of rdesktop compiled for an ancient linux, kind of = a computing=A0palaeontology=A0thing.</div><div><br></div><div>First questio= n is, is the attempt foolhardy? Is it just Not Going to Work(tm)?</div> <div><br></div><div>I am a programmer, but don't write C (yeah yeah, I = can hear your abuse from here) although I can read it pretty well. I've= got to the stage where ./configure works OK, no warnings or errors, but wh= en I run make I get this:</div> <div><br></div><div><div>woody:/usr/src/rdesktop-1.7.1# make</div><div>gcc = -g -O2 -Wall -I/usr/include =A0 -DPACKAGE_NAME=3D\"rdesktop\" -DP= ACKAGE_TARNAME=3D\"rdesktop\" -DPACKAGE_VERSION=3D\"1.7.1\&q= uot; -DPACKAGE_STRING=3D\"rdesktop\ 1.7.1\" -DPACKAGE_BUGREPORT= =3D\"\" -DPACKAGE_URL=3D\"\" -DSTDC_HEADERS=3D1 -DHAVE_= SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H= =3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_= STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DL_ENDIAN=3D1 -DHAVE_SYS_SELECT_H=3D1 -DH= AVE_LOCALE_H=3D1 -DHAVE_LANGINFO_H=3D1 -DHAVE_SYSEXITS_H=3D1 -Dssldir=3D\&q= uot;/usr\" -DEGD_SOCKET=3D\"/var/run/egd-pool\" -DWITH_RDPSN= D=3D1 -DRDPSND_OSS=3D1 -DHAVE_DIRENT_H=3D1 -DHAVE_DIRFD=3D1 -DHAVE_DECL_DIR= FD=3D1 -DHAVE_ICONV_H=3D1 -DHAVE_ICONV=3D1 -DICONV_CONST=3D -DHAVE_SYS_VFS_= H=3D1 -DHAVE_SYS_STATVFS_H=3D1 -DHAVE_SYS_STATFS_H=3D1 -DHAVE_SYS_PARAM_H= =3D1 -DHAVE_SYS_MOUNT_H=3D1 -DSTAT_STATVFS=3D1 -DHAVE_STRUCT_STATVFS_F_NAME= MAX=3D1 -DHAVE_STRUCT_STATFS_F_NAMELEN=3D1 -D_FILE_OFFSET_BITS=3D64 -DHAVE_= MNTENT_H=3D1 -DHAVE_SETMNTENT=3D1 -DKEYMAP_PATH=3D\"/usr/local/share/r= desktop/keymaps/\" -o rdesktop.o -c rdesktop.c</div> <div>rdesktop.c: In function `main':</div><div>rdesktop.c:491: parse er= ror before `struct'</div><div>rdesktop.c:492: `act' undeclared (fir= st use in this function)</div><div>rdesktop.c:492: (Each undeclared identif= ier is reported only once</div> <div>rdesktop.c:492: for each function it appears in.)</div><div>rdesktop.c= :911: parse error before `int'</div><div>rdesktop.c:912: `pwlen' un= declared (first use in this function)</div><div>make: *** [rdesktop.o] Erro= r 1</div> <div><br></div><div>I've successfully compiled it in Linux Mint 12, so = I know what it's supposed to look like, and I can see I'm not getti= ng very far. As I understand it, "act" is a data structure which,= as I can't find a definition in the rdesktop code, must be defined by = a library, and the library version that Woody uses doesn't have that st= ructure yet? Am I on the right track?</div> <div><br></div><div>Is there any way round this kind of thing?</div><div><b= r></div><div>Any help you can give would be greatly appreciated.</div><div>= <br></div><div>Thanks.</div><div><br></div>-- <br><p style=3D"font-family:v= erdana,sans-serif"> <span style=3D"font-weight:bold">Luke Pasc</span><span style=3D"font-weight= :bold">oe</span></p><p style=3D"font-family:verdana,sans-serif"><img src=3D= "http://osnz.co.nz/logo_blue_80.png" width=3D"96" height=3D"28"><font size= =3D"1"><br> <b><br> </b></font></p><p style=3D"font-family:verdana,sans-serif"><font size=3D"1"= ><b>E</b> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= .nz</a><br><b> P</b> +64 (9) 296 2961<br><b> M</b> +64 (27) 426 6649<br><b> W</b> <a href=3D"http://www.osnz.co.nz/" target=3D"_blank">www.osnz.co.nz</= a><br> <br> 24 Wellington St<br> Papakura<br> Auckland, 2110 <br>New Zealand</font></p> <p style=3D"width:500px;font-size:x-small;text-align:justify;color:rgb(204,= 204,204);font-family:verdana,sans-serif">This communication, including any attachments, is confidential. If you are=20 not the intended recipient, you should not read it - please contact me=20 immediately, destroy it, and do not copy or use any part of this=20 communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the=20 purposes of the Electronic Transactions Act 2002.</p><br> </div> --f46d0435bfdea96b3604c2760735-- --===============3613334570248019301== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ --===============3613334570248019301== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rdesktop-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdesktop-devel --===============3613334570248019301==--