* can't compile listen-up
@ Gregory Nowak
` Kirk Reiser
` Kirk Reiser
0 siblings, 2 replies; 14+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Hi all.
I grabbed listen-up out of cvs right now. I grabbed, and successfully
installed the 2 libraries it needs, and created a bin directory in the
listen-up container.
Here are the errors I got when doing make.
src/DTBPlayer.cc: In member function `int DTBPlayer::start()':
src/DTBPlayer.cc:177: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:185: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:220: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:226: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:248: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:254: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc: In member function `void
DTBPlayer::writeLastLine(const
char*, short int, short int)':
src/DTBPlayer.cc:814: invalid conversion from `const char*' to `char*'
make: *** [src/DTBPlayer.o] Error 1
If more details are needed, please let me know.
Thanks.
Greg
--
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
can't compile listen-up Gregory Nowak
@ ` Kirk Reiser
` Gregory Nowak
` Kirk Reiser
1 sibling, 1 reply; 14+ messages in thread
From: Kirk Reiser @ UTC (permalink / raw)
To: speakup
My first question is what version of g++ and all of it's dependencies
are you using? No compiler I can think of should complain about a
recast from const char* from char*. I am using g++ 3.3 but I'll try
with some earlier versions as well.
Kirk
--
Kirk Reiser The Computer Braille Facility
e-mail: kirk@braille.uwo.ca University of Western Ontario
phone: (519) 661-3061
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Kirk Reiser
@ ` Gregory Nowak
` Steve Holmes
0 siblings, 1 reply; 14+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Sorry about that.
My setup is basically the same as Steve Holmes'. The gcc is from Slack
9.0.
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i386-slackware-linux
--host=i386-slackware-linux
Thread model: posix
gcc version 3.2.2
The version of glibc is 2.3.1.
Thanks.
Greg
On Wed, Aug 13, 2003 at 07:12:17AM -0400, Kirk Reiser wrote:
> My first question is what version of g++ and all of it's dependencies
> are you using? No compiler I can think of should complain about a
> recast from const char* from char*. I am using g++ 3.3 but I'll try
> with some earlier versions as well.
>
> Kirk
>
> --
>
> Kirk Reiser The Computer Braille Facility
> e-mail: kirk@braille.uwo.ca University of Western Ontario
> phone: (519) 661-3061
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Gregory Nowak
@ ` Steve Holmes
` Steve Holmes
0 siblings, 1 reply; 14+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
I wonder if a change in compiler flags would be in order to get this
to compile? I'm not really up on many of the vast number of compiler
options available. If this is a potential problem with machine or
distro differences, I wonder if I should look into autoconf. Ifind
autoconf and automake to be fascenating but have never actually used
them. I hear it is tough to get set up initially for an app project.
Seems odd though that it will compile on some machines and not others
and I assume we're all using reasonably current versions of the
compiler and libraries. Slackware 9.0 came out just this past March
so should be quite current on gcc and glibc I would think.
On Wed, Aug 13, 2003 at 06:34:57AM -0500, Gregory Nowak wrote:
> Sorry about that.
>
> My setup is basically the same as Steve Holmes'. The gcc is from Slack
> 9.0.
>
> Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
> Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared
> --enable-threads=posix --enable-__cxa_atexit --disable-checking
> --with-gnu-ld --verbose --target=i386-slackware-linux
> --host=i386-slackware-linux
> Thread model: posix
> gcc version 3.2.2
>
> The version of glibc is 2.3.1.
>
> Thanks.
--
Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Steve Holmes
@ ` Steve Holmes
0 siblings, 0 replies; 14+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
In case it helps any, perhaps I'll include the make log that happened
with the original compile before I messed with any headers. Sorry for
the length. If this duplicates the other message, then I'm sorry for
the wasted band width.
----- make.log -----
g++ -o src/DTBPlayer.o -g -Wall -DLINUX -I/usr/local/include/libxml2 -I./src -c src/DTBPlayer.cc
src/DTBPlayer.cc: In member function `int DTBPlayer::start()':
src/DTBPlayer.cc:177: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:185: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:220: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:226: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:248: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc:254: invalid conversion from `const char*' to `char*'
src/DTBPlayer.cc: In member function `void DTBPlayer::writeLastLine(const
char*, short int, short int)':
src/DTBPlayer.cc:814: invalid conversion from `const char*' to `char*'
make: *** [src/DTBPlayer.o] Error 1
--
Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
can't compile listen-up Gregory Nowak
` Kirk Reiser
@ ` Kirk Reiser
` Steve Holmes
` Mikko Liukko
1 sibling, 2 replies; 14+ messages in thread
From: Kirk Reiser @ UTC (permalink / raw)
To: speakup
Okay guys, try doing an update and recompiling. I was having trouble
getting it to compile under 2.95.4 as well. I am not sure it will
compile on your boxes now but it does under 2.95.4 and 3.3.1. You
should see the cvs log message for details.
Kirk
--
Kirk Reiser The Computer Braille Facility
e-mail: kirk@braille.uwo.ca University of Western Ontario
phone: (519) 661-3061
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Kirk Reiser
@ ` Steve Holmes
` Kirk Reiser
` Mikko Liukko
1 sibling, 1 reply; 14+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
No, same ol' shit!:(. I just did a cvs update and same errors. I
wonder if I need to find some compiler flags to get around this?
On Wed, Aug 13, 2003 at 02:40:39PM -0400, Kirk Reiser wrote:
> Okay guys, try doing an update and recompiling. I was having trouble
> getting it to compile under 2.95.4 as well. I am not sure it will
> compile on your boxes now but it does under 2.95.4 and 3.3.1. You
> should see the cvs log message for details.
>
> Kirk
>
> --
>
> Kirk Reiser The Computer Braille Facility
> e-mail: kirk@braille.uwo.ca University of Western Ontario
> phone: (519) 661-3061
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Steve Holmes
@ ` Kirk Reiser
` Jacob Schmude
` Ryan Mann
0 siblings, 2 replies; 14+ messages in thread
From: Kirk Reiser @ UTC (permalink / raw)
To: speakup
I think we may need more input. Both of you are running Slackware 9.0
where I am using debian. I have tried it and got it running on both
woody and sid with g++ 2.95.4 and 3.3.1. I am thinking it must be
something different about the compiler flags on slackware but I'm not
sure what to suggest. Has anyone tried this on Redhat?
Kirk
--
Kirk Reiser The Computer Braille Facility
e-mail: kirk@braille.uwo.ca University of Western Ontario
phone: (519) 661-3061
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Kirk Reiser
@ ` Jacob Schmude
` Ryan Mann
1 sibling, 0 replies; 14+ messages in thread
From: Jacob Schmude @ UTC (permalink / raw)
To: speakup
Hi
Just tried it on my redhat 9 system running gcc 3.2.2. No problems with compile or operation. Must be something specific to slackware.
HTH
On 13 Aug 2003 16:00:31 -0400, Kirk Reiser wrote:
>I think we may need more input. Both of you are running Slackware 9.0
>where I am using debian. I have tried it and got it running on both
>woody and sid with g++ 2.95.4 and 3.3.1. I am thinking it must be
>something different about the compiler flags on slackware but I'm not
>sure what to suggest. Has anyone tried this on Redhat?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Kirk Reiser
` Jacob Schmude
@ ` Ryan Mann
1 sibling, 0 replies; 14+ messages in thread
From: Ryan Mann @ UTC (permalink / raw)
To: speakup
Yes. I've compiled Listen-up on RedHat 9.
Are you tired of Microsoft's expensive prices? Let's stand up to the
money-hungry company and switch to Linux. Find out more at
http://www.linux.org or http://www.linuxtoday.com.
Sincerely, Ryan Mann
On Wed, 13 Aug 2003, Kirk Reiser wrote:
> I think we may need more input. Both of you are running Slackware 9.0
> where I am using debian. I have tried it and got it running on both
> woody and sid with g++ 2.95.4 and 3.3.1. I am thinking it must be
> something different about the compiler flags on slackware but I'm not
> sure what to suggest. Has anyone tried this on Redhat?
>
> Kirk
>
> --
>
> Kirk Reiser The Computer Braille Facility
> e-mail: kirk@braille.uwo.ca University of Western Ontario
> phone: (519) 661-3061
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Kirk Reiser
` Steve Holmes
@ ` Mikko Liukko
` Kirk Reiser
1 sibling, 1 reply; 14+ messages in thread
From: Mikko Liukko @ UTC (permalink / raw)
To: speakup, Kirk Reiser
Hello
I can compile it on debian sid
gcc version 3.3
but not in gentoo gcc version 3.2 unless I change the _mainMenuString
arguments to (char *)_mainMenuString when calling wprintw in DTBPLayer.cc
This could have something to do with g++ versions that disallow passing string
constants to char*.
There is a redhat bug about the issue
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=18741
On Wednesday 13 August 2003 21:40, Kirk Reiser wrote:
> Okay guys, try doing an update and recompiling. I was having trouble
> getting it to compile under 2.95.4 as well. I am not sure it will
> compile on your boxes now but it does under 2.95.4 and 3.3.1. You
> should see the cvs log message for details.
>
> Kirk
--
Mr. Mikko Liukko
email mikko.liukko@iwn.fi
mobile +35850 59 434 66
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Mikko Liukko
@ ` Kirk Reiser
` Kirk Reiser
0 siblings, 1 reply; 14+ messages in thread
From: Kirk Reiser @ UTC (permalink / raw)
To: Mikko Liukko; +Cc: speakup
Hi Mikko: Thanks for hunting that down. Would you mind sending me a
diff of your mainMenuString changes to DTBPlayer.cc? I have no
problem compiling so if I change it I'm not sure I'll catch all the
messages. If you could easily take a diff I can apply it and check in
and the Slackware users should be good to go.
Kirk
--
Kirk Reiser The Computer Braille Facility
e-mail: kirk@braille.uwo.ca University of Western Ontario
phone: (519) 661-3061
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Kirk Reiser
@ ` Kirk Reiser
` Steve Holmes
0 siblings, 1 reply; 14+ messages in thread
From: Kirk Reiser @ UTC (permalink / raw)
To: speakup; +Cc: Mikko Liukko
Okay folks: I've patched and committed the patches from Mikko so Greg
and Steve please update and try again. Once again thank you very much
Mikko!
Kirk
--
Kirk Reiser The Computer Braille Facility
e-mail: kirk@braille.uwo.ca University of Western Ontario
phone: (519) 661-3061
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: can't compile listen-up
` Kirk Reiser
@ ` Steve Holmes
0 siblings, 0 replies; 14+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
You're good to go! I just got a clean compile. Now for running the
thing:). How's that for quick turn-around:).
On Thu, Aug 14, 2003 at 08:57:22AM -0400, Kirk Reiser wrote:
> Okay folks: I've patched and committed the patches from Mikko so Greg
> and Steve please update and try again. Once again thank you very much
> Mikko!
>
> Kirk
>
> --
>
> Kirk Reiser The Computer Braille Facility
> e-mail: kirk@braille.uwo.ca University of Western Ontario
> phone: (519) 661-3061
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
can't compile listen-up Gregory Nowak
` Kirk Reiser
` Gregory Nowak
` Steve Holmes
` Steve Holmes
` Kirk Reiser
` Steve Holmes
` Kirk Reiser
` Jacob Schmude
` Ryan Mann
` Mikko Liukko
` Kirk Reiser
` Kirk Reiser
` Steve Holmes
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).