Re: Please upload: clamav-0.92-1

2007-09-21 Thread Corinna Vinschen
On Sep 21 07:49, Reini Urban wrote:
 Please upload:
 
 http://rurban.xarch.at/cygr/clamav/clamav-0.91.1-2.tar.bz2
 http://rurban.xarch.at/cygr/clamav/clamav-0.91.2-1-src.tar.bz2
 http://rurban.xarch.at/cygr/clamav/clamav-0.91.2-1.tar.bz2
 http://rurban.xarch.at/cygr/clamav/libclamav-devel/libclamav-devel-0.91.2-1.tar.bz2
 http://rurban.xarch.at/cygr/clamav/libclamav2/libclamav2-0.91.2-1.tar.bz2

Done.  But I'm curious:  Why did I have to upload the binary of the
former version again, too?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: Please upload: lilypond-2.10.33-1

2007-09-21 Thread Corinna Vinschen
On Sep 20 20:48, Jan Nieuwenhuizen wrote:
 Please remove lilypond-2.10.29-1.

Done.

 http://lilypond.org/cygwin/release/lilypond/setup.hint
 http://lilypond.org/cygwin/release/lilypond/lilypond-2.10.33-1-src.tar.bz2
 http://lilypond.org/cygwin/release/lilypond/lilypond-2.10.33-1.tar.bz2
 
 ===
 
 http://lilypond.org/cygwin/release/lilypond/lilypond-doc/setup.hint
 http://lilypond.org/cygwin/release/lilypond/lilypond-doc/lilypond-doc-2.10.33-1.tar.bz2

Uploaded.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: Please upload: clamav-0.92-1

2007-09-21 Thread Reini Urban

Corinna Vinschen schrieb:

On Sep 21 07:49, Reini Urban wrote:

Please upload:

http://rurban.xarch.at/cygr/clamav/clamav-0.91.1-2.tar.bz2
http://rurban.xarch.at/cygr/clamav/clamav-0.91.2-1-src.tar.bz2
http://rurban.xarch.at/cygr/clamav/clamav-0.91.2-1.tar.bz2
http://rurban.xarch.at/cygr/clamav/libclamav-devel/libclamav-devel-0.91.2-1.tar.bz2
http://rurban.xarch.at/cygr/clamav/libclamav2/libclamav2-0.91.2-1.tar.bz2


Done.  But I'm curious:  Why did I have to upload the binary of the
former version again, too?


Because it was 7 o'clock in the morning before the first coffee when 
Yakoov got me with his security warning :)


But I was able to check the correctness of the package in this early hour.
--
Reini Urban
http://phpwiki.org/  http://murbreak.at/
http://helsinki.at/  http://spacemovie.mur.at/


Re: Lilypond package: fix for convert-ly bug

2007-09-21 Thread Jan Nieuwenhuizen
Jan Nieuwenhuizen writes:

 Thanks for the report.  It turns out that the relocation snippet
 was not included.  This will be fixed in 2.10.29-2.

Correction: this is fixed in the just-uploaded 2.10.33-1.

Jan.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: lilypond-2.10.33-1

2007-09-21 Thread janneke-list

The LilyPond music typesetter has been updated to the new stable
version 2.10.33.  This release fixes the convert-ly and other
python scripts problem.

Changes:

 lilypond (2.10.33-1) unstable; urgency=low

   * New upstream release.
   * Use __doc__ of parent buildspec if necessary.  Fixes doc in automatic
 hint file.

  -- Jan Nieuwenhuizen [EMAIL PROTECTED]  Thu, 20 Sep 2007 11:59:12 +0200

 lilypond (2.10.29-2) unstable; urgency=low

   * Fix python relocation header by compiling python dir first
 (Thanks Silas).

   -- Jan Nieuwenhuizen [EMAIL PROTECTED]  Mon, 17 Sep 2007 21:19:45 +0200

Enjoy,
Jan.


To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: math packages

2007-09-21 Thread Mike Fahlbusch

Search for calc on this page:

http://thewrittenword.com/packages


Also try a legacy program (not written by me):

http://users.cobweb.com.au/~mcf/c-eval.zip


A programmers calculator (doesn't do algebra):

http://muquit.com/muquit/software/mbasecalc/mbasecalc.html



Cole Radcliffe wrote:

Is there any math package that I can install for free on cygwin that
will allow me to do symbolic algebra and symbolically solve DEs and
symbolically integrate better than my TI-89? Apparently Octave only
produces numeric solutions.


--

Regards,
   Mike



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Duplicating Cygwin installations on multiple machines

2007-09-21 Thread Vechinski, Douglas A.

I have downloaded all of the cygwin packages to a local machine and will
install it, choosing what packages I do or don't want.   I would then
like to it on several other users machines with the same packages I
chose on the original machines.  I looking for a way to do this without
having to manually repeating selecting/deselecting the appropriate
packages during setup.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



gcc does not know about new and delete

2007-09-21 Thread Joel W. Gannett
I've checked but was unable to find any FAQs on this subject, as 
keywords such as new and delete apparently created too many hits.


Why doesn't my cygwin gcc know about the standard C++ functions new 
and delete?  Here is an ultra-simple program (newtest.cpp) that won't 
compile for me under cygwin:


// program begin

#include stdio.h

int
main()
{
   int *i;
  
   i = new int;

   *i = 15;
   printf ( hello, world: %d\n, *i );
   delete i;
   return 0;
}

// program end

This is what happens when I try to compile this program under cygwin on 
my Windows XP machine:


% gcc newtest.cpp
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x32): undefined reference to 
`operator new(unsigned int)'
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x5e): undefined reference to 
`operator delete(void*)'

collect2: ld returned 1 exit status

Also, I get essentially the same compilation failure messages when I try 
to compile this under cygwin on my Windows 2000 machine.


When I compile this simple program using gcc on a Sun Unix workstation, 
it compiles fine, with no messages, and runs fine as well.


Any help on this problem would be appreciated.  I have attached the 
cygcheck.out file for my Windows XP machine.



Cygwin Configuration Diagnostics
Current System Time: Fri Sep 21 14:04:29 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   .\
c:\jgannett\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\local\bin
C:\cygwin\lib\pl-5.2.6\bin
C:\cygwin\lib\pl-5.2.6\bin\i686-cygwin
C:\cygwin\usr\i686-pc-cygwin\bin
C:\cygwin\lib\pl-5.2.6\bin
C:\cygwin\lib\pl-5.2.6\bin\i686-cygwin
C:\cygwin\usr\sbin
C:\cygwin\usr\sbin\gnuplot
C:\cygwin\usr\sbin\gnuplot\4.0
C:\cygwin\usr\share\mc\bin
C:\cygwin\usr\X11R6\bin
i:\dynamic_IMO_networks_2007\src\bin_pc

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 19474(jgannett)GID: 10545(mkgroup_l_d)
0(root) 544(Administrators) 545(Users)
1003(Debugger Users)10545(mkgroup_l_d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 19474(jgannett)GID: 10545(mkgroup_l_d)
0(root) 544(Administrators) 545(Users)
1003(Debugger Users)10545(mkgroup_l_d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

HOME = `/cygdrive/c/jgannett'
PWD = `/cygdrive/c/cpp_new_delete_bug'
USER = `jgannett'
MAKE_MODE = `unix'

!C: = `C:\cygwin\bin'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\jgannett\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `JGANNETT-1'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
DEVENVDIR = `C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE'
FP_NO_HOST_CHECK = `NO'
FRAMEWORKDIR = `C:\WINNT\Microsoft.NET\Framework'
FRAMEWORKSDKDIR = `C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0'
FRAMEWORKVERSION = `v2.0.50727'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\jgannett'
INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET 
2003\VC7\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio .NET 
2003\VC7\INCLUDE;C:\Program Files\Microsoft Visual Studio .NET 
2003\VC7\PlatformSDK\include\prerelease;C:\Program Files\Microsoft Visual 
Studio .NET 2003\VC7\PlatformSDK\include;C:\Program Files\Microsoft Visual 
Studio .NET 2003\SDK\v1.1\include;C:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\atlmfc\include;C:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\include;C:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include;C:\Program Files\Microsoft Visual Studio .NET 
2003\SDK\v1.1\include;C:\Program Files\Microsoft Visual Studio\VC98\Include'
LIB = `C:\Program Files\Microsoft Visual Studio .NET 
2003\VC7\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio .NET 
2003\VC7\LIB;C:\Program Files\Microsoft Visual Studio .NET 
2003\VC7\PlatformSDK\lib\prerelease;C:\Program Files\Microsoft Visual Studio 
.NET 2003\VC7\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio .NET 
2003\SDK\v1.1\lib;C:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\atlmfc\lib;C:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\lib;C:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Lib;C:\Program Files\Microsoft Visual Studio .NET 
2003\SDK\v1.1\Lib;C:\Program Files\Microsoft Visual Studio\VC98\Lib'
LIBPATH = `C:\WINNT\Microsoft.NET\Framework\v2.0.50727;C:\Program 
Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB'
LOGONSERVER = `\\NVC-DTE-DDC01'
MSVCDIR = `C:\Program Files\Microsoft Visual Studio .NET 2003\VC7'
NETSAMPLEPATH = `C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0209'
PROGRAMFILES = `C:\Program Files'
PROMPT = 

Re: gcc does not know about new and delete

2007-09-21 Thread Frank Fesevur

At 21-9-2007 20:24, Joel W. Gannett wrote:
I've checked but was unable to find any FAQs on this subject, as 
keywords such as new and delete apparently created too many hits.


Why doesn't my cygwin gcc know about the standard C++ functions new 
and delete?  Here is an ultra-simple program (newtest.cpp) that won't 
compile for me under cygwin:


[SNIP]

% gcc newtest.cpp


Shouldn't that be g++?

Regards,
Frank

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: gcc does not know about new and delete

2007-09-21 Thread Lewis Hyatt
This is what happens when I try to compile this program under cygwin on 
my Windows XP machine:


% gcc newtest.cpp
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x32): undefined reference to 
`operator new(unsigned int)'
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x5e): undefined reference to 
`operator delete(void*)'

collect2: ld returned 1 exit status



gcc is compiling the C++ source fine, but it does not automatically 
figure out that it needs to link in the c++ runtime. You have to call it 
as g++ instead. It works that way on Linux too.


-Lewis


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: gcc does not know about new and delete

2007-09-21 Thread Joel W. Gannett

g++ works.  Thanks!!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Duplicating Cygwin installations on multiple machines

2007-09-21 Thread Igor Peshansky
On Fri, 21 Sep 2007, Vechinski, Douglas A. wrote:

 I have downloaded all of the cygwin packages to a local machine and will
 install it, choosing what packages I do or don't want.   I would then
 like to it on several other users machines with the same packages I
 chose on the original machines.  I looking for a way to do this without
 having to manually repeating selecting/deselecting the appropriate
 packages during setup.

One simple way is to create a local package server with just one empty
package on it.  Put that package in the Base category, and make it
depend on all the packages you wish to be downloaded automatically.
Add the local package server to the mirror list in setup, and it'll make
your wish come true.

See http://sourceware.org/cygwin-apps/package-server.html for
instructions on creating a package server.

Note that you don't actually have to store all of the packages locally --
setup can handle mutliple mirrors just fine, and will pull in the needed
packages according to the dependences you specify.
Igor
P.S. For the setup developers: perhaps we should allow the file:// URLs
in the mirror list, just so you don't have to run Apache for something
that simple...
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: math packages

2007-09-21 Thread Reini Urban

Cole Radcliffe schrieb:

Is there any math package that I can install for free on cygwin that
will allow me to do symbolic algebra and symbolically solve DEs and
symbolically integrate better than my TI-89? Apparently Octave only
produces numeric solutions.


First we have mathomatic, quite good in symbolic algebra, but not so 
good as maxima or maple. At least it the simpliest to install and use.


Then we have singular, a very good symbolic algebra package.

maxima, the best, can be easily installed on top of clisp.
See http://www.math.utexas.edu/pipermail/maxima/2001/000871.html

PariGP can also be easily built with cygwin - I have my private versions 
somewhere - and can obviously also do some integration. Its strength are 
numbers.


The other symbolic math packages described at 
http://www.derekroconnor.net/Software/Software.htm we don't have.

--
Reini Urban
http://phpwiki.org/  http://murbreak.at/
http://helsinki.at/  http://spacemovie.mur.at/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: clamav-0.91.2-1 SECURITY

2007-09-21 Thread Reini Urban

The cygwin clamav packages (Clam AntiVirus - GPL anti-virus toolkit)
has been updated to 0.91.2-1.
This is a SECURITY update: Gentoo Linux Security Advisory GLSA 200709-14

Vulnerabilities have been discovered in ClamAV allowing remote
execution of arbitrary code and Denial of Service attacks.

Description
===

Nikolaos Rangos discovered a vulnerability in ClamAV which exists
because the recipient address extracted from email messages is not
properly sanitized before being used in a call to popen() when
executing sendmail (CVE-2007-4560). Also, NULL-pointer dereference
errors exist within the cli_scanrtf() function in libclamav/rtf.c and
Stefanos Stamatis discovered a NULL-pointer dereference vulnerability
within the cli_html_normalise() function in libclamav/htmlnorm.c
(CVE-2007-4510).

Impact
==

The unsanitized recipient address can be exploited to execute arbitrary
code with the privileges of the clamav-milter process by sending an
email with a specially crafted recipient address to the affected
system. Also, the NULL-pointer dereference errors can be exploited to
crash ClamAV. Successful exploitation of the latter vulnerability
requires that clamav-milter is started with the black hole mode
activated, which is not enabled by default.

References
==

  [ 1 ] CVE-2007-4510
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4510
  [ 2 ] CVE-2007-4560
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4560

About
==
Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of
this software is the integration with mail servers (attachment
scanning). The package provides a flexible and scalable multi-threaded
daemon, a commandline scanner, and a tool for automatic updating via
Internet. The programs are based on a shared library distributed with
the Clam AntiVirus package, which you can use in your own software.

See http://freshmeat.net/projects/clamav/
ChangeLog: http://svn.clamav.net/svn/clamav-devel/trunk/ChangeLog

The clamav package comes in three parts:

clamav:  the executables and binaries
libclamav2:  the shared library since 0.90.1
libclamav-devel: development resources (headers, static- and import
   libraries)

Cygwin Package Changes:
* none



To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Cygwin setup on XP/Vista (UNIX/DOS compatibilty question)

2007-09-21 Thread Steve Richmond

I have a problem with running bash scripts and UNIX/Win compatibility.
I have 3 computers: a Windows ME PC (PC1), a Windows XP (PC2) and a
Windows Vista (PC3).

On PC1, I have an old version of Cygwin and bash (3.00.16.14 i686-pc-cygwin).
All my scripts have a .TXT suffix, so I can edit with Vim editor.  The scripts
generate .CSV (comma separated value) files, so I can examine and print with
Excel as well as edit with Vim.  I don't recall when I initially set it up
whether I set the Cygwin mode to be UNIX or DOS compatible for CR/LF.

On PC2 and PC3, I have an up-to-date version of Cygwin and bash
(3.2.5(7) i686-pc-cygwin).

However it behaves differently.  After I install it using UNIX, bash scripts
fail with '\r' errors, meaning it can't find the CR. So after I re-installed
to be DOS compatible for CR/LF, the bash scripts execute successfully, but
the resulting .CSV file has a '^M' added to each line.  Subsequent
manipulation with paste (as an example) fail because of the extra '^M'.

I read the FAQs about the different behavior with UNIX and DOS, but I must
have missed something because it should work one way or the other.

What do you I have to do with the setup to get the earlier behavior?



_
More photos; more messages; more whatever – Get MORE with Windows Live™ 
Hotmail®. NOW with 5GB storage.
http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_5G_0907

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin setup on XP/Vista (UNIX/DOS compatibilty question)

2007-09-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Steve Richmond on 9/21/2007 5:40 PM:
 On PC2 and PC3, I have an up-to-date version of Cygwin and bash
 (3.2.5(7) i686-pc-cygwin).

That's not up-to-date.  The latest is 3.2.25(16).

 
 However it behaves differently.  After I install it using UNIX, bash scripts
 fail with '\r' errors, meaning it can't find the CR. So after I re-installed
 to be DOS compatible for CR/LF, the bash scripts execute successfully, but
 the resulting .CSV file has a '^M' added to each line.  Subsequent
 manipulation with paste (as an example) fail because of the extra '^M'.

In your case, I'd recommend using a binary mount, and bash's igncr option.
 Oh, and reread the announcements:
http://cygwin.com/ml/cygwin-announce/2007-08/msg00014.html

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG9GB484KuGfSFAYARAipaAKCaVZXwdUC6FRvQ2aDvPg012HqxZACfaCmU
w3/BpJJJkAFU1Rm5PnHXBp8=
=+40Z
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: gcc does not know about new and delete

2007-09-21 Thread Erich Dollansky

Hi,

Framk gave you the answer.

gcc is a plain c compiler.

Erich

Joel W. Gannett wrote:
I've checked but was unable to find any FAQs on this subject, as 
keywords such as new and delete apparently created too many hits.


Why doesn't my cygwin gcc know about the standard C++ functions new 
and delete?  Here is an ultra-simple program (newtest.cpp) that won't 
compile for me under cygwin:


// program begin

#include stdio.h

int
main()
{
   int *i;
 i = new int;
   *i = 15;
   printf ( hello, world: %d\n, *i );
   delete i;
   return 0;
}

// program end

This is what happens when I try to compile this program under cygwin on 
my Windows XP machine:


% gcc newtest.cpp
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x32): undefined reference to 
`operator new(unsigned int)'
/tmp/ccReoXoA.o:newtest.cpp:(.text+0x5e): undefined reference to 
`operator delete(void*)'

collect2: ld returned 1 exit status

Also, I get essentially the same compilation failure messages when I try 
to compile this under cygwin on my Windows 2000 machine.


When I compile this simple program using gcc on a Sun Unix workstation, 
it compiles fine, with no messages, and runs fine as well.


Any help on this problem would be appreciated.  I have attached the 
cygcheck.out file for my Windows XP machine.





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: gcc does not know about new and delete

2007-09-21 Thread Markus E L

Erich Dollansky wrote:

 Hi,

 Framk gave you the answer.

Was the right answer ...

 gcc is a plain c compiler.

... but this is wrong. Gcc determines from the file suffic which language
applies

   .cpp - c++
   .c   - C

and so on.

Calling it as g++ vs. calling it as gcc though determines which
runtimes are linked automatically (and partly which include paths are
set).

  gcc -o x x.cpp -lstdc++

works perfectly with the OPs program.

I imagine the use of that is being able to compile with gcc to object
code reagrdless of the language involved, then linking within a
special runtime model, even if object files from multiple languages
are being linked together.

Regards -- Markus


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: gcc does not know about new and delete

2007-09-21 Thread Christopher Faylor
On Sat, Sep 22, 2007 at 04:29:53AM +0200, Markus E L wrote:
Erich Dollansky wrote:

 Hi,

 Framk gave you the answer.

Was the right answer ...

 gcc is a plain c compiler.

... but this is wrong. Gcc determines from the file suffic which language
applies

   .cpp - c++
   .c   - C

and so on.

Calling it as g++ vs. calling it as gcc though determines which
runtimes are linked automatically (and partly which include paths are
set).

  gcc -o x x.cpp -lstdc++

works perfectly with the OPs program.

That may be but it isn't guaranteed to work perfectly with every single
C++ program out there.  There are potentially other libraries which might
be required for C++.  You really should use g++ to link C++ programs.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Updated: lilypond-2.10.33-1

2007-09-21 Thread janneke-list

The LilyPond music typesetter has been updated to the new stable
version 2.10.33.  This release fixes the convert-ly and other
python scripts problem.

Changes:

 lilypond (2.10.33-1) unstable; urgency=low

   * New upstream release.
   * Use __doc__ of parent buildspec if necessary.  Fixes doc in automatic
 hint file.

  -- Jan Nieuwenhuizen [EMAIL PROTECTED]  Thu, 20 Sep 2007 11:59:12 +0200

 lilypond (2.10.29-2) unstable; urgency=low

   * Fix python relocation header by compiling python dir first
 (Thanks Silas).

   -- Jan Nieuwenhuizen [EMAIL PROTECTED]  Mon, 17 Sep 2007 21:19:45 +0200

Enjoy,
Jan.


To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


Updated: clamav-0.91.2-1 SECURITY

2007-09-21 Thread Reini Urban

The cygwin clamav packages (Clam AntiVirus - GPL anti-virus toolkit)
has been updated to 0.91.2-1.
This is a SECURITY update: Gentoo Linux Security Advisory GLSA 200709-14

Vulnerabilities have been discovered in ClamAV allowing remote
execution of arbitrary code and Denial of Service attacks.

Description
===

Nikolaos Rangos discovered a vulnerability in ClamAV which exists
because the recipient address extracted from email messages is not
properly sanitized before being used in a call to popen() when
executing sendmail (CVE-2007-4560). Also, NULL-pointer dereference
errors exist within the cli_scanrtf() function in libclamav/rtf.c and
Stefanos Stamatis discovered a NULL-pointer dereference vulnerability
within the cli_html_normalise() function in libclamav/htmlnorm.c
(CVE-2007-4510).

Impact
==

The unsanitized recipient address can be exploited to execute arbitrary
code with the privileges of the clamav-milter process by sending an
email with a specially crafted recipient address to the affected
system. Also, the NULL-pointer dereference errors can be exploited to
crash ClamAV. Successful exploitation of the latter vulnerability
requires that clamav-milter is started with the black hole mode
activated, which is not enabled by default.

References
==

  [ 1 ] CVE-2007-4510
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4510
  [ 2 ] CVE-2007-4560
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4560

About
==
Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of
this software is the integration with mail servers (attachment
scanning). The package provides a flexible and scalable multi-threaded
daemon, a commandline scanner, and a tool for automatic updating via
Internet. The programs are based on a shared library distributed with
the Clam AntiVirus package, which you can use in your own software.

See http://freshmeat.net/projects/clamav/
ChangeLog: http://svn.clamav.net/svn/clamav-devel/trunk/ChangeLog

The clamav package comes in three parts:

clamav:  the executables and binaries
libclamav2:  the shared library since 0.90.1
libclamav-devel: development resources (headers, static- and import
   libraries)

Cygwin Package Changes:
* none



To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.