public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] FW: ConfigTool compilation-error
@ 2009-06-03  0:48 Chris Cuthbert
  2009-06-03  7:03 ` [ECOS] " John Dallaway
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Cuthbert @ 2009-06-03  0:48 UTC (permalink / raw)
  To: ecos-discuss





Just like this old post, I am having exactly the same issue.
I am running a 32-bit open suse 11.1 on a 64-bit intel celeron. I downloaded the latest ecos-host source and tried compiling it as directed on ecosCentric website.

Any suggestions ?

Thanx.


My tcl config is as in tclConfig.sh,

# Tcl's version number.
TCL_VERSION='8.5'
TCL_MAJOR_VERSION='8'
TCL_MINOR_VERSION='5'
TCL_PATCH_LEVEL='.5'

# C compiler to use for compilation.
TCL_CC='gcc'

# -D flags for use with the C compiler.
TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -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 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 '

# TCL_DBGX used to be used to distinguish debug vs. non-debug builds.
# This was a righteous pain so the core doesn't do that any more.
TCL_DBGX=

# Default flags used in an optimized and debuggable build, respectively.
TCL_CFLAGS_DEBUG='-g'
TCL_CFLAGS_OPTIMIZE='-O2'

# Default linker flags used in an optimized and debuggable build, respectively.
TCL_LDFLAGS_DEBUG=''
TCL_LDFLAGS_OPTIMIZE=''

# Flag, 1: we built a shared lib, 0 we didn't
TCL_SHARED_BUILD=1

# The name of the Tcl library (may be either a .a file or a shared library):
TCL_LIB_FILE='libtcl8.5.so'

# Flag to indicate whether shared libraries need export files.
TCL_NEEDS_EXP_FILE=0

# String that can be evaluated to generate the part of the export file
# name that comes after the "libxxx" (includes version number, if any,
# extension, and anything else needed).  May depend on the variables
# VERSION.  On most UNIX systems this is ${VERSION}.exp.
TCL_EXPORT_FILE_SUFFIX=''

# Additional libraries to use when linking Tcl.
TCL_LIBS='-ldl  -lieee -lm'

# Top-level directory in which Tcl's platform-independent files are
# installed.
TCL_PREFIX='/usr'

# Top-level directory in which Tcl's platform-specific files (e.g.
# executables) are installed.
TCL_EXEC_PREFIX='/usr'

# Flags to pass to cc when compiling the components of a shared library:
TCL_SHLIB_CFLAGS='-fPIC'

# Flags to pass to cc to get warning messages
TCL_CFLAGS_WARNING='-Wall -Wno-implicit-int'

# Extra flags to pass to cc:
TCL_EXTRA_CFLAGS='-march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -pipe '

# Base command to use for combining object files into a shared library:
TCL_SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'

# Base command to use for combining object files into a static library:
TCL_STLIB_LD='${AR} cr'

# Either '$LIBS' (if dependent libraries should be included when linking
# shared libraries) or an empty string.  See Tcl's configure.in for more
# explanation.
TCL_SHLIB_LD_LIBS='${LIBS}'

# Suffix to use for the name of a shared library.
TCL_SHLIB_SUFFIX='.so'

# Library file(s) to include in tclsh and other base applications
# in order to provide facilities needed by DLOBJ above.
TCL_DL_LIBS='-ldl'

# Flags to pass to the compiler when linking object files into
# an executable tclsh or tcltest binary.
TCL_LD_FLAGS=' -Wl,--export-dynamic '

# Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
# run-time dynamic linker where to look for shared libraries such as
# libtcl.so.  Used when linking applications.  Only works if there
# is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
TCL_CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
TCL_LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'




# Additional object files linked with Tcl to provide compatibility
# with standard facilities from ANSI C or POSIX.# -l flag to pass to the linker to pick up the Tcl library
TCL_COMPAT_OBJS=''



# Name of the ranlib program to use.

TCL_RANLIB='ranlib'


TCL_LIB_FLAG='-ltcl8.5'

# String to pass to linker to pick up the Tcl library from its
# build directory.
TCL_BUILD_LIB_SPEC='-L/usr/src/packages/BUILD/tcl8.5.5/unix -ltcl8.5'

# String to pass to linker to pick up the Tcl library from its
# installed directory.
TCL_LIB_SPEC='-L/usr/lib -ltcl8.5'

# String to pass to the compiler so that an extension can
# find installed Tcl headers.
TCL_INCLUDE_SPEC='-I/usr/include'

# Indicates whether a version numbers should be used in -l switches
# ("ok" means it's safe to use switches like -ltcl7.5;  "nodots" means
# use switches like -ltcl75).  SunOS and FreeBSD require "nodots", for
# example.
TCL_LIB_VERSIONS_OK='ok'

# String that can be evaluated to generate the part of a shared library
# name that comes after the "libxxx" (includes version number, if any,
# extension, and anything else needed).  May depend on the variables
# VERSION and SHLIB_SUFFIX.  On most UNIX systems this is
# ${VERSION}${SHLIB_SUFFIX}.
TCL_SHARED_LIB_SUFFIX='${VERSION}.so'

# String that can be evaluated to generate the part of an unshared library
# name that comes after the "libxxx" (includes version number, if any,
# extension, and anything else needed).  May depend on the variable
# VERSION.  On most UNIX systems this is ${VERSION}.a.
TCL_UNSHARED_LIB_SUFFIX='${VERSION}.a'




# Location of the top-level source directory from which Tcl was built.
# This is the directory that contains a README file as well as
# subdirectories such as generic, unix, etc.  If Tcl was compiled in a
# different place than the directory containing the source files, this
# points to the location of the sources, not the location where Tcl was
# compiled.
TCL_SRC_DIR='/usr/src/packages/BUILD/tcl8.5.5'

# List of standard directories in which to look for packages during
# "package require" commands.  Contains the "prefix" directory plus also
# the "exec_prefix" directory, if it is different.
TCL_PACKAGE_PATH='/usr/lib '

# Tcl supports stub.
TCL_SUPPORTS_STUBS=1

# The name of the Tcl stub library (.a):
TCL_STUB_LIB_FILE='libtclstub8.5.a'

# -l flag to pass to the linker to pick up the Tcl stub library
TCL_STUB_LIB_FLAG='-ltclstub8.5'

# String to pass to linker to pick up the Tcl stub library from its
# build directory.
TCL_BUILD_STUB_LIB_SPEC='-L/usr/src/packages/BUILD/tcl8.5.5/unix -ltclstub8.5'

# String to pass to linker to pick up the Tcl stub library from its
# installed directory.
TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.5'

# Path to the Tcl stub library in the build directory.
TCL_BUILD_STUB_LIB_PATH='/usr/src/packages/BUILD/tcl8.5.5/unix/libtclstub8.5.a'

# Path to the Tcl stub library in the install directory.
TCL_STUB_LIB_PATH='/usr/lib/libtclstub8.5.a'

# Flag, 1: we built Tcl with threads enables, 0 we didn't
TCL_THREADS=0

-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
Hi,



I'm just compiling the configtool as described at
http://www.ecoscentric.com/devzone/configtool.shtml


[martin@martin ~/configtool-build]$ gmake -f ~/ecos/host/tools/ 
configtool/standalone/wxwin/makefile.gnu install WXDIR=/usr/local  
ECOSSRCDIR=/home/martin/ecos/host INSTALLDIR=/home/martin/ecos-tools/

[...]

c++ -O2 -c -ITCLDIR_use_system/include -I/home/martin/ecos-tools// 
include -I/home/martin/ecos/host/tools/configtool/common/common -I/ 
home/martin/ecos/host/tools/Utils/common -I/home/martin/ecos/host/ 
tools/ecostest/common -I/usr/local/include/tcl8.4/ - 
DecUSE_EXPERIMENTAL_CODE=1 `/usr/local/bin/wxgtk2-2.4-config -- 
cppflags` -o /home/martin/configtool-build/mainwin.o /home/martin/ 
ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp

/home/martin/ecos/host/tools/configtool/standalone/wxwin/bitmaps/ 
properties.xpm:22: warning: deprecated conversion from string  
constant to 'char*'

[many times the same warning...]

/home/martin/ecos/host/tools/configtool/standalone/wxwin/ 
mainwin.cpp: In member function 'void  
ecMainFrame::OnAbout(wxCommandEvent&)':

/home/martin/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp: 
584: error: 'wxPlatformInfo' has not been declared

/home/martin/ecos/host/tools/configtool/standalone/wxwin/ 
mainwin.cpp: In member function 'void  
ecMainFrame::OnToggleToolbar(wxCommandEvent&)':

/home/martin/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp: 
807: error: no matching function for call to  
'ecMainFrame::GtkOnSize()'

/usr/local/include/wx-2.4/wx/gtk/frame.h:83: note: candidates are:  
virtual void wxFrame::GtkOnSize(int, int, int, int)

gmake: *** [/home/martin/configtool-build/mainwin.o] Fehler 1




_________________________________________________________________
We are your photos. Share us now with Windows Live Photos.
http://go.microsoft.com/?linkid=9666047

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] Re: ConfigTool compilation-error
  2009-06-03  0:48 [ECOS] FW: ConfigTool compilation-error Chris Cuthbert
@ 2009-06-03  7:03 ` John Dallaway
  2009-06-03 18:21   ` [ECOS] " Chris Cuthbert
  2009-06-04 17:06   ` [ECOS] FW: " Chris Cuthbert
  0 siblings, 2 replies; 4+ messages in thread
From: John Dallaway @ 2009-06-03  7:03 UTC (permalink / raw)
  To: Chris Cuthbert; +Cc: ecos-discuss

Hi Chris

Chris Cuthbert wrote:

> I downloaded the latest ecos-host source and tried compiling it
> as directed on ecosCentric website.

Those instructions are for building eCos Configuration Tool 2.0. The 3.0
sources require wxWidgets 2.8.x.

John Dallaway

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] RE: ConfigTool compilation-error
  2009-06-03  7:03 ` [ECOS] " John Dallaway
@ 2009-06-03 18:21   ` Chris Cuthbert
  2009-06-04 17:06   ` [ECOS] FW: " Chris Cuthbert
  1 sibling, 0 replies; 4+ messages in thread
From: Chris Cuthbert @ 2009-06-03 18:21 UTC (permalink / raw)
  To: john; +Cc: ecos-discuss




----------------------------------------
> Date: Wed, 3 Jun 2009 08:03:04 +0100
> From: john@dallaway.org.uk
> To: nd6969@hotmail.com
> CC: ecos-discuss@ecos.sourceware.org
> Subject: Re: ConfigTool compilation-error
>
> Hi Chris
>
> Chris Cuthbert wrote:
>
>> I downloaded the latest ecos-host source and tried compiling it
>> as directed on ecosCentric website.
>
> Those instructions are for building eCos Configuration Tool 2.0. The 3.0
> sources require wxWidgets 2.8.x.
>
> John Dallaway

So If I download the latest ecos-host source from CVS and intall wxWidgets 2.8.x and use the ecosCentric procedure to build, it should work ??

Thanx.

_________________________________________________________________
We are your photos. Share us now with Windows Live Photos.
http://go.microsoft.com/?linkid=9666047

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] FW: ConfigTool compilation-error
  2009-06-03  7:03 ` [ECOS] " John Dallaway
  2009-06-03 18:21   ` [ECOS] " Chris Cuthbert
@ 2009-06-04 17:06   ` Chris Cuthbert
  1 sibling, 0 replies; 4+ messages in thread
From: Chris Cuthbert @ 2009-06-04 17:06 UTC (permalink / raw)
  To: john; +Cc: ecos-discuss




>> Date: Wed, 3 Jun 2009 08:03:04 +0100
>> From: john@dallaway.org.uk
>> To: nd6969@hotmail.com
>> CC: ecos-discuss@ecos.sourceware.org
>> Subject: Re: ConfigTool compilation-error
>>
>> Hi Chris
>>
>> Chris Cuthbert wrote:
>>
>>> I downloaded the latest ecos-host source and tried compiling it
>>> as directed on ecosCentric website.
>>
>> Those instructions are for building eCos Configuration Tool 2.0. The 3.0
>> sources require wxWidgets 2.8.x.
>>
>> John Dallaway
>
>
>
> I tried the wxWidgets 2.8.10 source and the same process as described at ecosCentric but now I get this error in the last step.
>
>
> platesdlg.o /home/ndhillon/ecos/ecos-4.0/ecos/configtool-build/TestResource.o -LTCLDIR_use_system/lib -L/home/ndhillon/ecos/ecos-4.0/ecos/ecos-tools/lib -lcdl -lcyginfra -ltcl `/home/ndhillon/ecos/ecos-4.0/ecos/wxGTK-2.8.10/bin/wx-config --libs std,gizmos`
> c++: /home/ndhillon/ecos/ecos-4.0/ecos/wxGTK-2.8.10/lib/libwx_gtk2_gizmos-2.8.a: No such file or directory
> make: *** [/home/ndhillon/ecos/ecos-4.0/ecos/configtool-build/configtool] Error 1
>
>
> The folder shows the following libs:
>
>
> ndhillon@linux-yn4s:~/ecos/ecos-4.0/ecos/wxGTK-2.8.10/lib> ll
> total 16456
> -rw-r--r-- 1 ndhillon users 1979452 2009-06-03 21:59 libwx_base-2.8.a
> -rw-r--r-- 1 ndhillon users 34210 2009-06-03 21:59 libwx_base_net-2.8.a
> -rw-r--r-- 1 ndhillon users 42420 2009-06-03 21:59 libwx_base_xml-2.8.a
> -rw-r--r-- 1 ndhillon users 197620 2009-06-03 21:59 libwxexpat-2.8.a
> -rw-r--r-- 1 ndhillon users 1489310 2009-06-03 21:59 libwx_gtk2_adv-2.8.a
> -rw-r--r-- 1 ndhillon users 667960 2009-06-03 21:59 libwx_gtk2_aui-2.8.a
> -rw-r--r-- 1 ndhillon users 7992450 2009-06-03 21:59 libwx_gtk2_core-2.8.a
> -rw-r--r-- 1 ndhillon users 1131630 2009-06-03 21:59 libwx_gtk2_html-2.8.a
> -rw-r--r-- 1 ndhillon users 148676 2009-06-03 21:59 libwx_gtk2_qa-2.8.a
> -rw-r--r-- 1 ndhillon users 1360206 2009-06-03 21:59 libwx_gtk2_richtext-2.8.a
> -rw-r--r-- 1 ndhillon users 1167132 2009-06-03 21:59 libwx_gtk2_xrc-2.8.a
> -rw-r--r-- 1 ndhillon users 173218 2009-06-03 21:59 libwxjpeg-2.8.a
> -rw-r--r-- 1 ndhillon users 373602 2009-06-03 21:59 libwxtiff-2.8.a
> drwxr-xr-x 4 ndhillon users 4096 2009-06-03 21:59 wx
>
>
> What am I missing ?
>
> Thanx.
>
>
>
>
> ________________________________
> Windows Live helps you keep up with all your friends, in one place.

_________________________________________________________________
Create a cool, new character for your Windows Live™ Messenger. 
http://go.microsoft.com/?linkid=9656621

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-04 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-03  0:48 [ECOS] FW: ConfigTool compilation-error Chris Cuthbert
2009-06-03  7:03 ` [ECOS] " John Dallaway
2009-06-03 18:21   ` [ECOS] " Chris Cuthbert
2009-06-04 17:06   ` [ECOS] FW: " Chris Cuthbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).