[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smartmontools-support
Subject:    Re: [smartmontools-support] Question about smartmontools
From:       Christian Franke <Christian.Franke () t-online ! de>
Date:       2007-08-12 14:20:00
Message-ID: 46BF1710.7070603 () t-online ! de
[Download RAW message or body]

On 8/2/2007, Daniel Schelb wrote:
>
> I downloaded yesterday the file „smartmontools-5.36.tar.gz“. I would 
> creat with the .c and .h files a new project under MS Visual Studio 
> .NET 2003. But it comes the error be build this project that the 
> programm didn’t found the header config.h, I’ve searched it but i 
> don’t find it in the package. Is this a special header from Linux or 
> cann you send me this header?
>

See INSTALL file:

"
[10] Guidelines for Windows

To compile the Windows release with MinGW, use the following on Cygwin:

./configure --build=mingw32
make

[...]
It is also possible to compile smartmontools with MSVC 6.0.
The project files (smartmontools_vc6.dsw, smart{ctl,d}_vc6.dsp) are
included in CVS (but not in source tarball). The config_vc6.h is no
longer maintained in CVS. The command:

make config-vc6

builds config_vc6.h from MinGW's config.h.
"

The .ds* files exist in CVS because I used VC6 for the first 
smartmontools port in 2003. With some tweaks in the converted project 
file, smartmontools can be also be build with VC8 (aka VS 2005) using 
the same config_vc6.h.

Maintaining VS project files is a mess, because MS apparently invents 
new file formats for each major release.

Each Windows binary release is build using the MinGW version of gcc/g++ 
on Cygwin. It builds OOTB from the source tarball. Cygwin provides the 
GNU automake/autoconf environment which is also used to build 
smartmontools on Linux & Friends.

A config_vc6.h build from current CVS is attached.

Cheers,

Christian


["config_vc6.h" (text/plain)]

/* config_vc6.h.  Generated by Makefile.  */
/* config.h.  Generated from config.h.in by configure.  */
/* config.h.in.  Generated from configure.in by autoheader.  */

/* smartmontools CVS Tag */
#define CONFIG_H_CVSID "$Id: configure.in,v 1.125 2007/04/01 16:49:47 shattered Exp $"

/* use mailx as default mailer */
/* #undef DEFAULT_MAILER */

/* Define to 1 if you have the `ata_identify_is_cached' function in os_*.c. */
#define HAVE_ATA_IDENTIFY_IS_CACHED 1

/* Define to 1 if C++ compiler supports __attribute__((packed)) */
/* #undef HAVE_ATTR_PACKED */

/* Define to 1 if you have the <dev/ata/atavar.h> header file. */
/* #undef HAVE_DEV_ATA_ATAVAR_H */

/* Define to 1 if you have the <dev/ciss/cissio.h> header file. */
/* #undef HAVE_DEV_CISS_CISSIO_H */

/* Define to 1 if you have the `getdomainname' function. */
/* #undef HAVE_GETDOMAINNAME */

/* Define to 1 if you have the `gethostbyname' function. */
/* #undef HAVE_GETHOSTBYNAME */

/* Define to 1 if you have the `gethostname' function. */
/* #undef HAVE_GETHOSTNAME */

/* Define to 1 if you have the `getopt' function. */
#define HAVE_GETOPT 1

/* Define to 1 if you have the <getopt.h> header file. */
#define HAVE_GETOPT_H 1

/* Define to 1 if you have the `getopt_long' function. */
#define HAVE_GETOPT_LONG 1

/* Define to 1 if you have the `get_os_version_str' function in os_*.c. */
#define HAVE_GET_OS_VERSION_STR 1

/* Define to 1 if the system has the type `int64_t'. */
/* #undef HAVE_INT64_T */

/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */

/* Define to 1 if you have the <linux/cciss_ioctl.h> header file. */
/* #undef HAVE_LINUX_CCISS_IOCTL_H */

/* Define to 1 if you have the <linux/compiler.h> header file. */
/* #undef HAVE_LINUX_COMPILER_H */

/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the <netdb.h> header file. */
/* #undef HAVE_NETDB_H */

/* Define to 1 if you have the `sigset' function. */
/* #undef HAVE_SIGSET */

/* Define to 1 if you have the <stdint.h> header file. */
/* #undef HAVE_STDINT_H */

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the <strings.h> header file. */
/* #undef HAVE_STRINGS_H */

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strtoull' function. */
/* #undef HAVE_STRTOULL */

/* Define to 1 if you have the <sys/inttypes.h> header file. */
/* #undef HAVE_SYS_INTTYPES_H */

/* Define to 1 if you have the <sys/int_types.h> header file. */
/* #undef HAVE_SYS_INT_TYPES_H */

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/tweio.h> header file. */
/* #undef HAVE_SYS_TWEIO_H */

/* Define to 1 if you have the <sys/twereg.h> header file. */
/* #undef HAVE_SYS_TWEREG_H */

/* Define to 1 if you have the <sys/tw_osl_ioctl.h> header file. */
/* #undef HAVE_SYS_TW_OSL_IOCTL_H */

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if the system has the type `uint64_t'. */
/* #undef HAVE_UINT64_T */

/* Define to 1 if you have the `uname' function. */
/* #undef HAVE_UNAME */

/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */

/* Define to 1 if the `snprintf' function is sane */
/* #undef HAVE_WORKING_SNPRINTF */

/* need assembly code os_solaris_ata.s */
/* #undef NEED_SOLARIS_ATA_CODE */

/* Name of package */
#define PACKAGE "smartmontools"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "smartmontools-support@lists.sourceforge.net"

/* smartmontools Home Page */
#define PACKAGE_HOMEPAGE "http://smartmontools.sourceforge.net/"

/* Define to the full name of this package. */
#define PACKAGE_NAME "smartmontools"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "smartmontools 5.38"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "smartmontools"

/* Define to the version of this package. */
#define PACKAGE_VERSION "5.38"

/* smartmontools Build Host */
#define SMARTMONTOOLS_BUILD_HOST "i686-pc-win32vc6"

/* smartmontools Configure Arguments */
#define SMARTMONTOOLS_CONFIGURE_ARGS " '--build=mingw32' 'build_alias=mingw32'"

/* smartmontools Configure Date */
#define SMARTMONTOOLS_CONFIGURE_DATE "2007/04/01 17:29:25 UTC"

/* smartmontools Release Date */
#define SMARTMONTOOLS_RELEASE_DATE "2006/12/20"

/* smartmontools Release Time */
#define SMARTMONTOOLS_RELEASE_TIME "20:37:59 UTC"

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Version number of package */
#define VERSION "5.38"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
Smartmontools-support mailing list
Smartmontools-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic