On 03/19/2013 04:58 PM, Cory Smelosky wrote:
I have done this and the result is less errors, but I still get some:
(I did try with the cp as well. No change)
bash-3.2$ unzip -aaqq master
bash-3.2$ cd simh-master
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
Change GCC=/opt/solarisstudio12.3/bin/CC to GCC=/opt/solarisstudio12.3/bin/cc
The simh code base is C not C++.
Ahh. That's an odd way to differentiate between a C and C++ compiler...
It's pretty standard, actually. It's just not the way GCC does it.
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
On Tuesday, March 19, 2013 at 1:58 PM, Cory Smelosky wrote:
On 19 Mar 2013, at 16:52, "Mark Pizzolato - Info Comm"
<Mark at infocomm.com> wrote:
On Tuesday, March 19, 2013 at 1:12 PM, Cory Smelosky wrote:
I have done this and the result is less errors, but I still get some:
(I did try with the cp as well. No change)
bash-3.2$ unzip -aaqq master
bash-3.2$ cd simh-master
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
Change GCC=/opt/solarisstudio12.3/bin/CC to
GCC=/opt/solarisstudio12.3/bin/cc
The simh code base is C not C++.
Ahh. That's an...odd way to differentiate between a C and C++ compiler...
I'm just guessing that is what is going on.
I do know that on Dave's system I was using 'cc' instead of 'CC', and the latest code compiles now without any issues.
- Mark
On 19 Mar 2013, at 16:52, "Mark Pizzolato - Info Comm" <Mark at infocomm.com> wrote:
On Tuesday, March 19, 2013 at 1:12 PM, Cory Smelosky wrote:
I have done this and the result is less errors, but I still get some:
(I did try with the cp as well. No change)
bash-3.2$ unzip -aaqq master
bash-3.2$ cd simh-master
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
Change GCC=/opt/solarisstudio12.3/bin/CC to GCC=/opt/solarisstudio12.3/bin/cc
The simh code base is C not C++.
Ahh. That's an odd way to differentiate between a C and C++ compiler...
- Mark
On Tuesday, March 19, 2013 at 1:12 PM, Cory Smelosky wrote:
I have done this and the result is less errors, but I still get some:
(I did try with the cp as well. No change)
bash-3.2$ unzip -aaqq master
bash-3.2$ cd simh-master
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
Change GCC=/opt/solarisstudio12.3/bin/CC to GCC=/opt/solarisstudio12.3/bin/cc
The simh code base is C not C++.
- Mark
On 03/19/2013 03:07 PM, Mark Pizzolato - Info Comm wrote:
When I compile on Dave s system using Sun C ( 5.12), I needed to change
the line endings to LF from CR-LF.
If dos2unix took a list of filenames to convert in-place then we d
merely do:
$ dos2unix makefile *.txt *.c *.h */*.h */*.c
$ find . -type f -name *.[ch] -exec dos2unix {} \;
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
On 19 Mar 2013, at 15:07, "Mark Pizzolato - Info Comm" <Mark at infocomm.com> wrote:
Numerous changes over the last few days. Please pull the latest from github before proceeding.
Done.
When I compile on Dave s system using Sun C ( 5.12), I needed to change the line endings to LF from CR-LF.
If dos2unix took a list of filenames to convert in-place then we d merely do:
$ dos2unix makefile *.txt *.c *.h */*.h */*.c
Since dos2unix doesn t work like I d hope, we can get around this with unzip:
$ unzip aa master.zip
$ mkdir temp
$ cd temp
$ unzip ../master.zip
$ cp simh-master/VAX/*.bin simh-master/VAX/*.exe ../simh-master/VAX/
$ cd ../simh-master
$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
I have done this and the result is less errors, but I still get some:
(I did try with the cp as well. No change)
bash-3.2$ unzip -aaqq master
bash-3.2$ cd simh-master
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
lib paths are: /lib /usr/lib
using libm: /lib/libm.so
using librt: /lib/librt.so
using libpthread: /lib/libpthread.so /usr/include/pthread.h
using libdl: /lib/libdl.so /usr/include/dlfcn.h
using libpcap: /usr/include/pcap.h
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. Sun C 5.12.
*** - dynamic networking support using Solaris provided libpcap components.
***
mkdir -p BIN
/opt/solarisstudio12.3/bin/CC -U__STRICT_ANSI__ -O2 -I . -D_GNU_SOURCE -D_LARGEFILE_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO -DHAVE_DLOPEN=so sim_BuildROMs.c -o BIN/BuildROMs
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 107: Error: Cannot assign void* to char*.
"sim_BuildROMs.c", line 119: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 158: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 169: Error: Cannot assign const char* to char*.
"sim_BuildROMs.c", line 245: Error: Cannot assign void* to unsigned char*.
5 Error(s) and 15 Warning(s) detected.
gmake: *** [BIN/BuildROMs] Error 2
Hitting an issue when using SunCC from Solaris Studio now:
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
lib paths are: /lib /usr/lib
using libm: /lib/libm.so
using librt: /lib/librt.so
using libpthread: /lib/libpthread.so /usr/include/pthread.h
using libdl: /lib/libdl.so /usr/include/dlfcn.h
using libpcap: /usr/include/pcap.h
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. Sun C 5.12.
*** - dynamic networking support using Solaris provided libpcap components.
***
/opt/solarisstudio12.3/bin/CC -U__STRICT_ANSI__ -O2 -I . -D_GNU_SOURCE -D_LARGEFILE_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO -DHAVE_DLOPEN=so sim_BuildROMs.c -o BIN/BuildROMs
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs..c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization..
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 107: Error: Cannot assign void* to char*.
"sim_BuildROMs..c", line 119: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 158: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 169: Error: Cannot assign const char* to char*.
"sim_BuildROMs.c", line 245: Error: Cannot assign void* to unsigned char*.
5 Error(s) and 15 Warning(s) detected.
gmake: *** [BIN/BuildROMs] Error 2
On 19 Mar 2013, at 15:07, "Mark Pizzolato - Info Comm" <Mark at infocomm.com> wrote:
Numerous changes over the last few days. Please pull the latest from github before proceeding.
When I compile on Dave s system using Sun C ( 5.12), I needed to change the line endings to LF from CR-LF.
If dos2unix took a list of filenames to convert in-place then we d merely do:
$ dos2unix makefile *.txt *.c *.h */*.h */*.c
Since dos2unix doesn t work like I d hope, we can get around this with unzip:
$ unzip aa master.zip
$ mkdir temp
$ cd temp
$ unzip ../master.zip
$ cp simh-master/VAX/*.bin simh-master/VAX/*.exe ../simh-master/VAX/
$ cd ../simh-master
$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
I will update you on whether that works once I work around
bash-3.2# ifconfig vnic0 inet 10.10.2.1 netmask 255.255.0.0
ifconfig: could not create address:Object not found
Hitting an issue when using SunCC from Solaris Studio now:
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
lib paths are: /lib /usr/lib
using libm: /lib/libm.so
using librt: /lib/librt.so
using libpthread: /lib/libpthread.so /usr/include/pthread.h
using libdl: /lib/libdl.so /usr/include/dlfcn.h
using libpcap: /usr/include/pcap.h
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. Sun C 5.12.
*** - dynamic networking support using Solaris provided libpcap components.
***
/opt/solarisstudio12.3/bin/CC -U__STRICT_ANSI__ -O2 -I . -D_GNU_SOURCE -D_LARGEFILE_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO -DHAVE_DLOPEN=so sim_BuildROMs.c -o BIN/BuildROMs
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs..c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization..
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 107: Error: Cannot assign void* to char*.
"sim_BuildROMs..c", line 119: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 158: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 169: Error: Cannot assign const char* to char*.
"sim_BuildROMs.c", line 245: Error: Cannot assign void* to unsigned char*.
5 Error(s) and 15 Warning(s) detected.
gmake: *** [BIN/BuildROMs] Error 2
Numerous changes over the last few days. Please pull the latest from github before proceeding.
When I compile on Dave s system using Sun C ( 5.12), I needed to change the line endings to LF from CR-LF.
If dos2unix took a list of filenames to convert in-place then we d merely do:
$ dos2unix makefile *.txt *.c *.h */*.h */*.c
Since dos2unix doesn t work like I d hope, we can get around this with unzip:
$ unzip aa master.zip
$ mkdir temp
$ cd temp
$ unzip ../master.zip
$ cp simh-master/VAX/*.bin simh-master/VAX/*.exe ../simh-master/VAX/
$ cd ../simh-master
$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
Hitting an issue when using SunCC from Solaris Studio now:
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
lib paths are: /lib /usr/lib
using libm: /lib/libm.so
using librt: /lib/librt.so
using libpthread: /lib/libpthread.so /usr/include/pthread.h
using libdl: /lib/libdl.so /usr/include/dlfcn.h
using libpcap: /usr/include/pcap.h
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. Sun C 5.12.
*** - dynamic networking support using Solaris provided libpcap components.
***
/opt/solarisstudio12.3/bin/CC -U__STRICT_ANSI__ -O2 -I . -D_GNU_SOURCE -D_LARGEFILE_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO -DHAVE_DLOPEN=so sim_BuildROMs.c -o BIN/BuildROMs
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 107: Error: Cannot assign void* to char*.
"sim_BuildROMs.c", line 119: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 158: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 169: Error: Cannot assign const char* to char*.
"sim_BuildROMs.c", line 245: Error: Cannot assign void* to unsigned char*.
5 Error(s) and 15 Warning(s) detected.
gmake: *** [BIN/BuildROMs] Error 2
On 18 Mar 2013, at 17:25, "Cory Smelosky" <b4 at gewt.net> wrote:
On 18 Mar 2013, at 17:18, "Gregg Levine" <gregg.drwho8 at gmail.com> wrote:
On Mon, Mar 18, 2013 at 5:10 PM, Cory Smelosky <b4 at gewt.net> wrote:
On 17 Mar 2013, at 00:25, "Cory Smelosky" <b4 at gewt.net> wrote:
On 17 Mar 2013, at 00:23, "Dave McGuire" <mcguire at neurotica.com> wrote:
On 03/17/2013 12:06 AM, Cory Smelosky wrote:
Indeed it is. I hope OpenSXCE gets off the ground in a meaningful
way.
It runs great. I talk with the guy (Martin) every now and then.
I believe he's the kind of guy who is motivated by people actually
using his stuff. I say RUN it. (it runs great!) And tell him about
it. Thank him for it. Then he'll continue to make it happen.
I did that a little while ago and never got a response. I believe I
was polite and I know I definitely thanked him. I was certainly not
insulting him. I would run it if I could get zones to work at all.
That's the limiting factor for running OpenSXCE. Along with my
inability to get more than the one drive working to help with
staging. ;)
Remember he has only sporadic network access.
Ahhh. Right. I keep forgetting about that.
I've gotten OpenSXCE installed and I have managed to get zones to work. It took a little bit of effort and a lot of time but I have done it.
Now to get everything set up so I can bring my SIMH instances back. ;)
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
Hello!
Good to know. Also the cards arrived today. It took me a while to
remember what was in the box, and, as it happens the clew was where
they ran over here from. Thank you!
Very good to know! I knew the problem could be solved with persistence. ;)
Welcome! Apologies about the delay in getting them out.
Dave please stop staring at that car. It's not planning on moving
until the end of the week. Also the Cybermen need 32 Gigabytes more
for their project.
Gigabytes or Gibibytes? ;)
-----
Gregg C Levine gregg.drwho8 at gmail.com
"This signature fought the Time Wars, time and again."
Hitting an issue when using SunCC from Solaris Studio now:
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
lib paths are: /lib /usr/lib
using libm: /lib/libm.so
using librt: /lib/librt.so
using libpthread: /lib/libpthread.so /usr/include/pthread.h
using libdl: /lib/libdl.so /usr/include/dlfcn.h
using libpcap: /usr/include/pcap.h
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. Sun C 5.12.
*** - dynamic networking support using Solaris provided libpcap components.
***
/opt/solarisstudio12.3/bin/CC -U__STRICT_ANSI__ -O2 -I . -D_GNU_SOURCE -D_LARGEFILE_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO -DHAVE_DLOPEN=so sim_BuildROMs.c -o BIN/BuildROMs
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in initialization.
"sim_BuildROMs.c", line 107: Error: Cannot assign void* to char*.
"sim_BuildROMs.c", line 119: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 158: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 169: Error: Cannot assign const char* to char*.
"sim_BuildROMs.c", line 245: Error: Cannot assign void* to unsigned char*.
5 Error(s) and 15 Warning(s) detected.
gmake: *** [BIN/BuildROMs] Error 2
output of CC -flags: http://pastebin.com/mRc9t6Y1
On 18 Mar 2013, at 17:18, "Gregg Levine" <gregg.drwho8 at gmail.com> wrote:
On Mon, Mar 18, 2013 at 5:10 PM, Cory Smelosky <b4 at gewt.net> wrote:
On 17 Mar 2013, at 00:25, "Cory Smelosky" <b4 at gewt.net> wrote:
On 17 Mar 2013, at 00:23, "Dave McGuire" <mcguire at neurotica.com> wrote:
On 03/17/2013 12:06 AM, Cory Smelosky wrote:
Indeed it is. I hope OpenSXCE gets off the ground in a meaningful
way.
It runs great. I talk with the guy (Martin) every now and then.
I believe he's the kind of guy who is motivated by people actually
using his stuff. I say RUN it. (it runs great!) And tell him about
it. Thank him for it. Then he'll continue to make it happen.
I did that a little while ago and never got a response. I believe I
was polite and I know I definitely thanked him. I was certainly not
insulting him. I would run it if I could get zones to work at all.
That's the limiting factor for running OpenSXCE. Along with my
inability to get more than the one drive working to help with
staging. ;)
Remember he has only sporadic network access.
Ahhh. Right. I keep forgetting about that.
I've gotten OpenSXCE installed and I have managed to get zones to work. It took a little bit of effort and a lot of time but I have done it.
Now to get everything set up so I can bring my SIMH instances back. ;)
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
Hello!
Good to know. Also the cards arrived today. It took me a while to
remember what was in the box, and, as it happens the clew was where
they ran over here from. Thank you!
Very good to know! I knew the problem could be solved with persistence. ;)
Welcome! Apologies about the delay in getting them out.
Dave please stop staring at that car. It's not planning on moving
until the end of the week. Also the Cybermen need 32 Gigabytes more
for their project.
Gigabytes or Gibibytes? ;)
-----
Gregg C Levine gregg.drwho8 at gmail.com
"This signature fought the Time Wars, time and again."