From: Michael Shigorin <mike@osdn.org.ua>
To: devel@altlinux.ru
Subject: [devel] Q: help with lavaps (c++ part) please
Date: Thu, 28 Nov 2002 14:22:25 +0200
Message-ID: <20021128122225.GF14732@osdn.org.ua> (raw)
[-- Attachment #1: Type: text/plain, Size: 2460 bytes --]
Здравствуйте.
Кто-нибудь сведущий в C++ может чуток помочь с lavaps?
Сейчас http://osdn.org.ua/~mike/lavaps-1.20-alt2.src.rpm
не собирается с такими жалобами:
---
make[3]: Entering directory `/home/mike/RPM/BUILD/lavaps-1.20/linux/proc'
gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c alloc.c
gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c compare.c
compare.c:103:13: warning: pasting "->" and "user" does not give a valid preprocessing token
compare.c:103:13: warning: pasting "->" and "user" does not give a valid preprocessing token
[...]
c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -DUSE_PROCESS_SCAN_LINUX_PROC -Ilinux -g -DUSE_TCL_BLOB -Wall -DLAVAPS_STL_NAMESPACE=none -I/usr/X11R6/include -c process_scan_aix.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -DUSE_PROCESS_SCAN_LINUX_PROC -Ilinux -g -DUSE_TCL_BLOB -Wall -DLAVAPS_STL_NAMESPACE=none -I/usr/X11R6/include -c blob.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -DUSE_PROCESS_SCAN_LINUX_PROC -Ilinux -g -DUSE_TCL_BLOB -Wall -DLAVAPS_STL_NAMESPACE=none -I/usr/X11R6/include -c tcl_blob.cc
tcl_blob.cc: In function `void tcl_blob::init ()':
tcl_blob.cc:337: cannot convert `const char *' to `char *' for argument `1' to `die (char *)'
tcl_blob.cc:347: cannot convert `int (*) (void *, Tcl_Interp *, int, char **)' to `int (*) (void *, Tcl_Interp *, int, const char **)' for argument `3' to `Tcl_CreateCommand (Tcl_Interp *, const char *, int (*) (void *, Tcl_Interp *, int, const char **), void *, void (*) (void *))'
[...]
tcl_blob.cc: In method `void tcl_blob::redraw ()':
tcl_blob.cc:592: cannot convert `const char *' to `char *' in initialization
make[2]: *** [tcl_blob.o] Error 1
make[2]: Leaving directory `/home/mike/RPM/BUILD/lavaps-1.20'
[вываливаемся]
---
Author's note on building:
> Building LavaPS requires C++, STL, and Tcl/Tk.
Имею:
trickster:~> rpm -qa |grep -- ++|sort
gcc2.95-c++-2.95.3-alt1
gcc2.96-c++-2.96-alt2
gcc3.2-c++-3.2.1-alt0.4
libstdc++2.95-devel-2.95.3-alt1
libstdc++2.96-2.96-alt2
libstdc++2.96-devel-2.96-alt2
libstdc++3.2-3.2.1-alt0.4
libstdc++3.2-debug-3.2.1-alt0.4
libstdc++3.2-devel-3.2.1-alt0.4
Что интересно --
trickster:~> rpm -qf `find /usr/include -name stl.h`
libstdc++2.96-devel-2.96-alt2
Попытка собрать с 2.95.3/2.96 тоже не удалась.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]
next reply other threads:[~2002-11-28 12:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-28 12:22 Michael Shigorin [this message]
2002-11-28 12:35 ` [devel] " Michael Shigorin
2002-11-28 13:19 ` Sergey Bolshakov
2002-11-28 17:46 ` [devel] " Alexey Voinov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021128122225.GF14732@osdn.org.ua \
--to=mike@osdn.org.ua \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git