Jump to content
Excelsior Forums
gemma1

DEBIAN ECTH & Native XDS-x86 f

Recommended Posts

Dear Support,

I have just installed the Native XDS-x86 for Linux v2.51 in a DEBIAN

ECTH

but althought I have added the /us/local/xds/bin into the PATH to use

it,

seems return the same error:

gemma@36:/usr/local/xds/wrk$ xc =m hello.mod

O2/M2 development system v2.51 © 1999-2003 Excelsior, LLC. (build

10.05.2005)

XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005

Compiling "hello.mod"

* [hello.mod 3.13 F425]

* file open error: "InOut.sym" no such file

IMPORT InOut$;

errors  1, no warnings, lines    3, time  0.01

I added the /usr/local/xds/sym/X86 into the PATH too but any result

Please, could you help me in this matter?

Thank you for all your time and help

:)

Share this post


Link to post
Share on other sites

gemma1 wrote (in part):

> I added the /usr/local/xds/sym/X86 into the PATH too but any result

I have two questions:

(1) Do you really mean xds/sym/X86, that is, did you rename the directory from x86 to X86?

(2) Did you build the x86 library as specified in the readme.txt file?

john

Share this post


Link to post
Share on other sites

John,

(1) I did not rename the directory...my directory is xds/sym/x86

(2) I can not build the x86 library as readme.txt because the compiler gcc faults with the libraries c when I have installed glibc2

Waiting for your kindly help

Thank you very much

GEMMA  :)

Share this post


Link to post
Share on other sites

I just downloaded and tried building the library on Ubuntu 8.0.4 with gcc-4.2.3.  Compilation of X2C.c failed with errors.

I then downloaded and tried building the library on SuSE 9.3 with gcc-3.3.5.  No problems.

Hhhhhmmmm.... gcc has changed. Which version of gcc are you using and exactly what do you mean by the compiler faults?  Where does it fail?

john

Share this post


Link to post
Share on other sites

Me again!

I got to build the library installing the ncurses-dev packet but I follow to have this error when I am trying to compile "Hello.mod"

36:/usr/local/xds/samples/modula# xc =m hello.mod

O2/M2 development system v2.51 © 1999-2003 Excelsior, LLC. (build 10.05.2005)

XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005

Compiling "hello.mod"

* [hello.mod 2.13 F425]

* file open error: "InOut.sym" no such file

IMPORT InOut$;

errors  1, no warnings, lines    2, time  0.01

Any ideas??? :'(

Share this post


Link to post
Share on other sites

Hi John,

Yes, I have just done global read permissions but nothing...same error...

XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005

Compiling "hello.mod"

* [hello.mod 2.13 F425]

* file open error: "InOut.sym" no such file

IMPORT InOut$;

errors  1, no warnings, lines    2, time  0.01

Really, it's so strange that I don't know how can I do more... :'(

Perhaps, a problem of Debian but I don't believe it because I got to built the libraries Ok...

Have you give some tips, ideas, help (I need it because I have to do some exercises from my studies...)

Thank you for all your time and quick reply in this matter

Gemma

Share this post


Link to post
Share on other sites

Thank you Snowman! :)

Yes, I have this file in the directory wrk from which I execute xc hello.mod...In the PATH add this =/usr/local/xds/bin and I am not able to compile nothing  :'(

gemma@36:/usr/local/xds/wrk$ xc =m hello.mod

O2/M2 development system v2.51 © 1999-2003 Excelsior, LLC. (build

10.05.2005)

XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005

Compiling "hello.mod"

* [hello.mod 3.13 F425]

* file open error: "InOut.sym" no such file

IMPORT InOut$;

errors  1, no warnings, lines    3, time  0.01

Any other suggestions, ideas, please???

Thank you for your quik reply.

Gemma

Share this post


Link to post
Share on other sites

Try the following:

1. Rename that file ([tt]/usr/local/xds/wrk/xc.red[/tt]) to something like [tt]xc.red.saved[/tt]

2. Run the compiler using the full pathname:

[tt]/usr/local/xds/bin/xc hello.mod[/tt]

if this helps, review the content of [tt]xc.red.saved[/tt]. It likely contains incorrect paths, in particular to the directory with symbol files.

Share this post


Link to post
Share on other sites

Sorry for the delay!!! :-\

I've just done all you told me and nothing...I have the same "horrible" error...

I have listened to you my xc.red.saved you have a look on it but it seems to be OK

36:/usr/local/xds/wrk# more xc.red.saved

xc.*  = ./bin

*.tem  = ./bin

*.sym  = ./sym;./sym/x86

*.a    = .;./lib/x86

*.o    = ./obj

*.def  = ./def

*.mod  = ./src

*.ob2  = ./src

*.prj  = .

36:/usr/local/xds/wrk# /usr/local/xds/bin/xc hello.mod

XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005

Compiling "hello.mod"

* [hello.mod 3.13 F425]

* file open error: "InOut.sym" no such file

IMPORT InOut$;

errors  1, no warnings, lines    3, time  0.01

36:/usr/local/xds/wrk#

Very, very strange but I am very glad you are trying to help me...Thank you very much for all your time in it! :)

Any news on it?

GEMMA

Share this post


Link to post
Share on other sites

The saved [tt]xc.red[/tt] is certainly not OK.

The first four lines must be:

xc.*   = /usr/local/xds/bin
*.tem  = /usr/local/xds/bin
*.sym  = ./sym;/usr/local/xds/sym/x86
*.a    = .;/usr/local/xds/lib/x86

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×