Re: Compiling rdesktop on Debian Woody
Peter Åstrand <[email protected]> Sun, 17 Jun 2012 18:48:06 +0200 (CEST)
| Newsgroups | gmane.network.rdesktop.devel |
|---|---|
| Message-ID | <[email protected]> |
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --===============3613334570248019301== Content-Type: TEXT/Plain; format=flowed; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Line 491 is: struct sigaction act; Apparently, this system does not recognize "sigaction". This is strange;=20 it has been around for a long time. Are you sure you have the development= =20 packages installed? Was ./configure successful? Rgds, Peter On Fri, 15 Jun 2012, Luke Pascoe wrote: > 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=C2=A0palaeon= tology=C2=A0thing. >=20 > First question is, is the attempt foolhardy? Is it just Not Going to Wo= rk(tm)? >=20 > 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 wher= e ./configure > works OK, no warnings or errors, but when I run make I get this: >=20 > woody:/usr/src/rdesktop-1.7.1# make > gcc -g -O2 -Wall -I/usr/include =C2=A0 -DPACKAGE_NAME=3D\"rdesktop\" -D= PACKAGE_TARNAME=3D\"rdesktop\" -DPACKAGE_VERSION=3D\"1.7.1\" -DPACKAGE_ST= RING=3D\"rdesktop\ 1.7.1\" > -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\" -DSTDC_HEADERS=3D1 -DHA= VE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRIN= G_H=3D1 -DHAVE_MEMORY_H=3D1 > -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_U= NISTD_H=3D1 -DL_ENDIAN=3D1 -DHAVE_SYS_SELECT_H=3D1 -DHAVE_LOCALE_H=3D1 -D= HAVE_LANGINFO_H=3D1 > -DHAVE_SYSEXITS_H=3D1 -Dssldir=3D\"/usr\" -DEGD_SOCKET=3D\"/var/run/egd= -pool\" -DWITH_RDPSND=3D1 -DRDPSND_OSS=3D1 -DHAVE_DIRENT_H=3D1 -DHAVE_DIR= FD=3D1 -DHAVE_DECL_DIRFD=3D1 > -DHAVE_ICONV_H=3D1 -DHAVE_ICONV=3D1 -DICONV_CONST=3D -DHAVE_SYS_VFS_H=3D= 1 -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_NAMEMAX=3D1 -DHAVE_STRUCT_ST= ATFS_F_NAMELEN=3D1 -D_FILE_OFFSET_BITS=3D64 -DHAVE_MNTENT_H=3D1 -DHAVE_SE= TMNTENT=3D1 > -DKEYMAP_PATH=3D\"/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 >=20 > I've successfully compiled it in Linux Mint 12, so I know what it's sup= posed to look like, and I can see I'm not getting very far. As I understa= nd it, "act" is > a data structure which, as I can't find a definition in the rdesktop co= de, 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? >=20 > Is there any way round this kind of thing? >=20 > Any help you can give would be greatly appreciated. >=20 > Thanks. >=20 > -- >=20 > Luke Pascoe >=20 > [logo_blue_80.png] >=20 > E [email protected] > P +64 (9) 296 2961 > M +64 (27) 426 6649 > W www.osnz.co.nz >=20 > 24 Wellington St > Papakura > Auckland, 2110 > New Zealand >=20 > This communication, including any attachments, is confidential. If you = are not the intended recipient, you should not read it - please contact m= e immediately, > destroy it, and do not copy or use any part of this communication or di= sclose anything about it. Thank you. Please note that this communication = does not > designate an information system for the purposes of the Electronic Tran= sactions Act 2002. >=20 >=20 >=20 > --- Peter =C3=85strand ThinLinc Chief Developer Cendio AB http://cendio.com Teknikringen 8 http://twitter.com/ThinLinc 583 30 Link=C3=B6ping http://facebook.com/ThinLinc Phone: +46-13-214600 http://plus.google.com/112509906846170010689 --===============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==--