Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
72 user(s) are online (38 user(s) are browsing Forums)

Members: 0
Guests: 72

more...

Headlines

Forum Index


Board index » All Posts (AmigaBlitter)




Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@jaokim

Thank you very much.

you can PM me for the files.


Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@Chris

Thank you.

I will try.

By the way,this is not the only function missing.

I put only few errors and warning. I can expect that many other files will create problem.

Already patched some files including using if defined (__amigaos__)...

moreover this other declarations are missing:

SIG_BLOCK
SIG_GETMASK
SIG_SETMASK
SA_NOCLDSTOP
SIG_UNBLOCK





Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular



Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@Raziel

Thank you for the reply.

The compiler does not complain about the unistd.h, but about the pipe() function that isn't there.
The same is for the other things related to unix process

Retired
Go to top


Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


Hello everyone,

trying to compile some sources i'm encountering certain problems related to the unistd.h and other unix process.

warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration]

warning: implicit declaration of function 'sigprocmask' [-Wimplicit-function-declaration]
if(sigprocmask(SIG_BLOCK, &mask, &old_mask) < 0)

error: 'SIG_BLOCK' undeclared (first use in this function)
if(sigprocmask(SIG_BLOCK, &mask, &old_mask) < 0)

error: 'SIG_SETMASK' undeclared (first use in this function)
sigprocmask(SIG_SETMASK, &old_mask, 0);

error: 'SA_NOCLDSTOP' undeclared (first use in this function)
newSigAction.sa_flags = SA_NOCLDSTOP;


Could someone, please, give me any hint on this?

Thank you in advance

Retired
Go to top


Re: Problem with filename lenght
Quite a regular
Quite a regular


@chris
My mistake. Don't know what i've done. I was sure convinced that FS was SFS2. I noticed only when some source file name were truncated.
107 chars will suffice, i guess.

Retired
Go to top


Re: Problem with filename lenght
Quite a regular
Quite a regular


@xenic

I unintentionally formatted with old filesystem.

Now i realized....

Formatting...

thank you all for the help

Retired
Go to top


Re: Problem with filename lenght
Quite a regular
Quite a regular


Don't tell me: i have to format :P

I can't backup all file, can i?

There is a tool for this?
Just copying the file doesn't works, cause some files return an error (i guess is a FS limit)

Retired
Go to top


Re: Problem with filename lenght
Quite a regular
Quite a regular


Sigh.

There a way to change the partition type? I mean convert to another filesystem?

Retired
Go to top


Problem with filename lenght
Quite a regular
Quite a regular


Hello everyone,

i'm having problem with the lenght of a filename. What the maximum lenght of a filename for AmigaOS?

When i extract files from certain archives i see that filename are truncated.

Any hint?

thank you

Retired
Go to top


Re: Cmake on Amiga
Quite a regular
Quite a regular


This is just before the reaper appears:

00510 : cmake : o.k. = SystemTagList(""uname" -p 2>&1",ASYNC) [55701uS]
00511 : PIPE/queue-handler 53.3 : 0 = FindSegmentStackSize("L:Queue-Handler") [110uS]
00512 : PIPE/queue-handler 53.3 : o.k. = [exec] OpenLibrary("dos.library",53) [21uS]
00513 : PIPE/queue-handler 53.3 : o.k. = [exec] OpenLibrary("utility.library",53) [5uS]
00514 : PIPE/queue-handler 53.3 : o.k. = [exec] OpenDevice("timer.device",1,0x5AED25E0,0x00000000) = 0 [44uS]
00515 : Background CLI : FAIL = Lock("uname",SHARED) [1597uS]
00516 : Background CLI : SetCurrentDir("SYS:")
00517 : Background CLI : SetCurrentDir("ENV:")
00518 : Background CLI : FAIL = Lock("uname",SHARED) [80uS]
00519 : Background CLI : SetCurrentDir("SYS:")
00520 : Background CLI : SetCurrentDir("<untracked>")
00521 : Background CLI : FAIL = Lock("uname",SHARED) [189uS]
00522 : Background CLI : SetCurrentDir("SYS:")
00523 : Background CLI : SetCurrentDir("<untracked>")
00524 : cmake : o.k. = Open("PIPE:06324616631.67155011031",OLD) = [0x17E30E10] [2108uS]
00525 : Background CLI : FAIL = Lock("uname",SHARED) [238uS]
00526 : Background CLI : SetCurrentDir("SYS:")
00527 : Background CLI : SetCurrentDir("<untracked>")
00528 : cmake : o.k. = ExamineObject(0x5C65D918) [254uS]
00529 : cmake : FAIL = IsInteractive("PIPE:06324616631.67155011031")
00530 : PIPE/queue-handler 53.3 : 0 = FindSegmentStackSize("L:Queue-Handler") [18uS]
00531 : PIPE/queue-handler 53.3 : o.k. = [exec] OpenLibrary("dos.library",53) [21uS]
00532 : PIPE/queue-handler 53.3 : o.k. = [exec] OpenLibrary("utility.library",53) [6uS]
00533 : PIPE/queue-handler 53.3 : o.k. = [exec] OpenDevice("timer.device",1,0x5AED2A90,0x00000000) = 0 [46uS]
00534 : Background CLI : FAIL = Lock("uname",SHARED) [1289uS]
00535 : Background CLI : SetCurrentDir("SYS:")
00536 : Background CLI : SetCurrentDir("<untracked>")
00537 : Background CLI : FAIL = Lock("uname",SHARED) [300uS]
00538 : Background CLI : SetCurrentDir("SYS:")
00539 : Background CLI : SetCurrentDir("<untracked>")
00540 : cmake : FAIL = IsFileSystem("PIPE:") [1788uS]
00541 : Background CLI : FAIL = Lock("uname",SHARED) [266uS]
00542 : Background CLI : SetCurrentDir("SYS:")
00543 : Background CLI : SetCurrentDir("<untracked>")
00544 : cmake : o.k. = ExamineFH("06324616631.67155011031") [225uS]
00545 : Background CLI : FAIL = Lock("uname",SHARED) [237uS]
00546 : Background CLI : SetCurrentDir("SYS:")
00547 : Background CLI : SetCurrentDir("<untracked>")
00548 : Background CLI : FAIL = Lock("uname",SHARED) [105uS]
00549 : Background CLI : SetCurrentDir("SYS:")
00550 : Background CLI : SetCurrentDir("<untracked>")
00551 : Background CLI : FAIL = Lock("uname",SHARED) [73uS]
00552 : Background CLI : SetCurrentDir("SYS:")
00553 : Background CLI : SetCurrentDir("ENV:")
00554 : Background CLI : o.k. = Lock("uname",SHARED) [362uS]
00555 : Background CLI : o.k. = ExamineObject(0x5AE2BCA8) [116uS]
00556 : Background CLI : o.k. = LoadSeg("uname") = [0x1718230D] [18494uS]
00557 : Background CLI : o.k. = Lock("uname",SHARED) [343uS]
00558 : Background CLI : DIR = ParentDir("uname") [43uS]
00559 : Background CLI : SetCurrentDir("SYS:")
00560 : uname : 0 = FindSegmentStackSize("uname") [416uS]
00561 : uname : -----> RunCommand(0x1718230D "uname",,"-p 2>&1",9)
00562 : uname : 0 = FindSegmentStackSize("uname") [4uS]
00563 : uname : o.k. = [exec] OpenLibrary("dos.library",37) [23uS]
00564 : uname : o.k. = [exec] OpenLibrary("utility.library",37) [6uS]
00565 : uname : FAIL = IsInteractive("NIL:")
00566 : uname : FAIL = IsInteractive("PIPE:06324616631.67155011031")
00567 : uname : o.k. = Open("CONSOLE:",NEW) = [0x17E30E46] [59uS]
00568 : uname : FAIL = IsInteractive("CONSOLE:")
00569 : uname : o.k. = [exec] OpenLibrary("bsdsocket.library",3) [60uS]
00570 : uname : o.k. = [exec] OpenLibrary("locale.library",38) [15uS]
00571 : uname : ROOT = ParentOfFH(0x17E30E46) "CONSOLE:" [3uS]
00572 : uname : <----- RunCommand(0x1718230D "uname",,"-p 2>&1",9) = 0 [0x00000000] [1639uS]
00573 : Background CLI : o.k. = GetVar("_ScriptLine",0x5AE2BDD0,40,0x00000200) [18uS]
00574 : Background CLI : FAIL = GetVar("Echo",0x5AE2BD38,32,0x00000200) [8uS]
00575 : Background CLI : FAIL = GetVar("OldRedirect",0x5AE2BD38,32,0x00000200) [9uS]
00576 : Background CLI : FAIL = GetVar("KeepDoubleQuotes",0x5AE2BD38,32,0x00000200) [7uS]
00577 : Background CLI : FAIL = GetVar("Interactive",0x5AE2BD38,32,0x00000200) [9uS]
00578 : cmake : ROOT = ParentOfFH(0x17E30E10) "PIPE:06324616631.67155011031"

Retired
Go to top


Re: Cmake on Amiga
Quite a regular
Quite a regular


@Raziel

Here's a part of the snoopy output:

00067 : cmake : o.k. = ExamineFH("CMakeCache.txt") [38uS]
00068 : cmake : o.k. = Lock("AmigaOS:cmake/bin",SHARED) [220uS]
00069 : cmake : o.k. = Lock("AmigaOS:cmake/bin/cmake",SHARED) [236uS]
00070 : cmake : o.k. = ExamineObject(0x5C661BC8) [114uS]
00071 : cmake : o.k. = Lock("AmigaOS:cmake/bin/cmake",SHARED) [233uS]
00072 : cmake : o.k. = ExamineObject(0x5C661BC8) [154uS]
00073 : cmake : FAIL = Lock("AmigaOS:cmake/bin/ccmake",SHARED) [167uS]
00074 : cmake : FAIL = Lock("AmigaOS:cmake/bin/cmake-gui",SHARED) [159uS]
00075 : cmake : o.k. = Lock("AmigaOS:cmake/bin/ctest",SHARED) [6483uS]
00076 : cmake : o.k. = ExamineObject(0x5C661BC8) [124uS]
00077 : cmake : o.k. = Lock("AmigaOS:cmake/bin/cpack",SHARED) [433uS]
00078 : cmake : o.k. = ExamineObject(0x5C661BC8) [118uS]
00079 : cmake : o.k. = Lock("AmigaOS:cmake/bin/cmake",SHARED) [254uS]
00080 : cmake : o.k. = Lock("AmigaOS:cmake/bin/cmake",SHARED) [259uS]

The two fail lines refer to files that are not present in the cmake/bin directory: ccmake and cmake-gui.

I'm not sure, btw, that this is the problem.


Edited by AmigaBlitter on 2016/11/11 19:26:12
Edited by AmigaBlitter on 2016/11/11 19:28:16
Retired
Go to top


Re: Recent uploads not in recent list?
Quite a regular
Quite a regular


Really nice. Thank you

Retired
Go to top


Re: Cmake on Amiga
Quite a regular
Quite a regular


@Thematic

Tried with cmake -i.

cmake crash

Retired
Go to top


Re: Cmake on Amiga
Quite a regular
Quite a regular


@Thematic

I will try.

Thank you

Sending the crashlog to Alfkil...

Retired
Go to top


Re: Cmake on Amiga
Quite a regular
Quite a regular


@Raziel

I succeeded in get cmake only working too, but as soon as cmake tries to build something it crash

Retired
Go to top


Re: Cmake on Amiga
Quite a regular
Quite a regular


@Raziel
The 2.8.5 should suffice my needs
Btw, i download 3.7 rc3 and tried to compile. Working on it...

First problem i encountered is that the bootstrap doesn't find the c, c++ toolchain


Edited by AmigaBlitter on 2016/11/8 8:47:51
Retired
Go to top


Re: Cmake on Amiga
Quite a regular
Quite a regular


Can someone help me to get cmake working?

thank you very much

Retired
Go to top


Re: Cmake on Amiga
Quite a regular
Quite a regular


CMake version for AmigaOS is 2.8.5

I need at least CMake 2.8.
Cmake soesn't need sh Cmake, i guess.
Running cmake only produces a list of all options and informations. Running cmake with parameters or commands produces errors and crashs.


Edited by AmigaBlitter on 2016/11/7 10:04:03
Retired
Go to top


Re: Cmake on Amiga
Quite a regular
Quite a regular


Thank you
I tried with cmake -DCMAKE_ROOT=AmigaOS:cmake
doesn't work.
Tried with cmake -DCMAKE_ROOT=AmigaOS/cmake and other variants

same results

Retired
Go to top



TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 30 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project