#151 Compilation error with 1.4.1 and smartcard patch

open
nobody
None
5
2012-11-29
2006-03-22
Anonymous
No

I tried to compile tha actual 1.4.1 source release with
the smartcard patch. Result is the following :

<snip>
config.status: creating Makefile
./bootstrap
./config.status
config.status: creating Makefile
gcc -g -O2 -Wall -I/usr/local/ssl/include
-I/usr/X11R6/include -DPACKAGE_NAME=\"rdesktop\"
-DPACKAGE_TARNAME=\"rdesktop\"
-DPACKAGE_VERSION=\"1.4.1\"
-DPACKAGE_STRING=\"rdesktop\ 1.4.1\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DL_ENDIAN=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
-DHAVE_SYS_SELECT_H=1 -DHAVE_LOCALE_H=1
-DHAVE_LANGINFO_H=1 -DHAVE_ICONV_H=1
-Dssldir=\"/usr/local/ssl\"
-DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1
-DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=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 -DHAVE_MNTENT_H=1
-DHAVE_SETMNTENT=1
-DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\"
@SCARD_SUPPORT@ @SCARD_DEBUG@ -o rdesktop.o -c rdesktop.c
gcc: cannot specify -o with -c or -S and multiple
compilations
make: *** [rdesktop.o] Error 1
<snap>

Can anybody help?

I tried this on different machines, different versions
f gcc ... all the same.

Thx in advance
Jason

Discussion