Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
88 user(s) are online (43 user(s) are browsing Forums)

Members: 0
Guests: 88

more...

Headlines

 
  Register To Post  

« 1 (2)
Re: Why aos4util_newlib?
Home away from home
Home away from home


See User information
@afxgroup

Tell me that higher numbers are better and i'm all hyped

Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Quite a regular
Quite a regular


See User information
I believe higher is better indeed.

Go to top
Re: Why aos4util_newlib?
Just can't stay away
Just can't stay away


See User information
@afxgroup
Quote:
I'm plan also to create a clib2.library but this will come later
Building a new version of clib2.library should be no problem at all, the first one I build was about 20 years ago already, and there were no big problems at all converting it to a shared library.
Except for the C library functions using global data of course, I used a small static link library for such functions instead of including them into the shared clib2.library, but with the current (maybe beta only) kernels you should be able to use thread local storage in clib2.library instead.

Just make sure you update all relevant data types to 64 bit (files, time, date, etc.) before releasing the first version of your clib2.library, or you'll get into the same problems as I did with newlib and you'll have to create an incompatible V2 (64 bit data types) interface way too soon as well.


Edited by joerg on 2022/3/13 4:58:26
Edited by joerg on 2022/3/13 5:52:34
Go to top
Re: Why aos4util_newlib?
Home away from home
Home away from home


See User information
Holy Moly...the grudge is great in this one

err...hey @joerg, great to have you back

Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Amigans Defender
Amigans Defender


See User information
@joerg

I know very well. But i'm trying to test everything is added. Any new function, any change has a test case or is tested against a software. And at moment except maybe for the reentrant stuff this clib2 version is more posix compatible than actual newlib. regard the clib2.library i know should not be a great problem but the lack of time is the usual problem. That's why i'm planning to open it in a few weeks so anyone can contribute (hints: you are one of them :D)
I think that newlib now is a great problem since any fix is done on beta is released after a lot of time and it is a problem for developers (and users of course) that doesn't have fixes or new functionalities.
I'm not a good developer like you. So many things are beyond my knowledge (for the same problem. Time). So any help is appreciated.
I had a problem with shared objects and no one give me help and I did all by myself. And of course this will slow everything. I know that no one is obliged to help (without maybe expect money) but since we are a small group of developers maybe this should be different

Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Home away from home
Home away from home


See User information
@afxgroup

Would it help if @thomas joined the cause?
I laways read great in-depth answers from him when it comes to programming questions, but know nothing about his available time or willingness, so, just an idea.

Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Home away from home
Home away from home


See User information
@afxgroup

You should not underestimate yourself; no one can know everything.
However, time is the enemy, and the size of this community as you say.

Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Quite a regular
Quite a regular


See User information
@afxgroup

What is the link to your CLIB2?

Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Home away from home
Home away from home


See User information
@LiveForIt

Agreed, the task itself in it's current state already was a huge undertaking.

@afxgroup

Kudos

Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Amigans Defender
Amigans Defender


See User information
once the library will be visible on github anyone could help. The code is not mine and personal.. the goal of this library is to be opened to anyone. If one day i'll die anyone can continue.
We are stuck with OS4 because it is closed and there are no money to continue the development faster.
But OS4 is not mine and I can't decide for Hyperion of course. If was mine I can assure you that will be released as open source after day 1

Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Not too shy to talk
Not too shy to talk


See User information
@afxgroup

I am trying to port

https://github.com/TheAssemblyArmada/Vanilla-Conquer

I can compile all .o files,

However since I use -clib2, I can't link SDL2 and OPENAL

So would it be possible to link SDL2/OPENAL with a clib2 project?

ppc-amigaos-g++ -mcrt=clib2 -athread=native -std=gnu++11 -Wall -fcheck-new -fsigned-char -DNDEBUG  -D__USE_INLINE__ -D__BIG_ENDIAN__ -DMEGAMAPS -DENGLISH -D_BSD_SOURCE -DSDL2_BUILD -DOPENAL_BUILD -DTRUE_FALSE_DEFINED -D__AMIGA__ -DNOMINMAX -fpermissive -Wno-narrowing -D__AMIGAVER__=\"1.0R1\"  -D__AMIGADATE__=\"04-07-22\" -I/usr/local/amiga/ppc-amigaos/SDK/Local/newlib/include/SDL2/ -I/usr/local/amiga/ppc-amigaos/SDK/Local/newlib/include/AL/  -I/usr/local/amiga/ppc-amigaos/SDK/Local/include -I./common -I./ -o vanillatd common/_diptabl.o common/alloc.o common/auduncmp.o common/b64pipe.o common/b64straw.o common/base64.o common/bfiofile.o common/blowfish.o common/blowpipe.o common/blwstraw.o common/buff.o common/buffer.o common/buffglbl.o common/ccfile.o common/cdfile.o common/cliprect.o common/combuf.o common/control.o common/crc.o common/crew.o common/cstraw.o common/connect.o common/debugstring.o common/delay.o common/dipthong.o common/drawbuff.o common/drawline.o common/drawmisc.o common/face.o common/fading.o common/field.o common/file.o common/filepcx.o common/fixed.o common/font.o common/gadget.o common/getshape.o common/graphicsviewport.o common/hsv.o common/iff.o common/ini.o common/int.o common/internet.o common/irandom.o common/keybuff.o common/keyframe.o common/lcw.o common/lcwpipe.o common/lcwstraw.o common/linear.o common/link.o common/load.o common/memrev.o common/misc.o common/mixfile.o common/mp.o common/newdel.o common/packet.o common/palette.o common/palettec.o common/paths.o common/pipe.o common/pk.o common/pkpipe.o common/pkstraw.o common/ramfile.o common/random.o common/rawfile.o common/readline.o common/rect.o common/rgb.o common/rndstraw.o common/settings.o common/sha.o common/shape.o common/shapipe.o common/shastraw.o common/soscodec.o common/stamp.o common/straw.o common/timer.o common/timerdwn.o common/tobuff.o common/toggle.o common/vector.o common/winasm.o common/windows.o common/winhide.o common/winstub.o common/wsa.o common/xordelta.o common/xpipe.o common/xstraw.o common/file_posix.o common/paths_posix.o common/framelimit.o common/gbuffer.o common/interpal.o common/ipxaddr.o common/unvqbuff.o common/vqaconfig.o common/vqadrawer.o common/vqaloader.o common/vqapalette.o common/vqatask.o common/vqaver.o common/wsproto.o common/wwkeyboard.o common/wwmouse.o common/soundio_openal.o common/vqaaudio_openal.o common/video_sdl2.o tiberiandawn/aadata.o tiberiandawn/abstract.o tiberiandawn/adata.o tiberiandawn/aircraft.o tiberiandawn/anim.o tiberiandawn/audio.o tiberiandawn/base.o tiberiandawn/bbdata.o tiberiandawn/bdata.o tiberiandawn/building.o tiberiandawn/bullet.o tiberiandawn/cargo.o tiberiandawn/ccini.o tiberiandawn/cdata.o tiberiandawn/cell.o tiberiandawn/checkbox.o tiberiandawn/cheklist.o tiberiandawn/colrlist.o tiberiandawn/combat.o tiberiandawn/confdlg.o tiberiandawn/conquer.o tiberiandawn/const.o tiberiandawn/coord.o tiberiandawn/credits.o tiberiandawn/debug.o tiberiandawn/dial8.o tiberiandawn/dialog.o tiberiandawn/display.o tiberiandawn/door.o tiberiandawn/drive.o tiberiandawn/drop.o tiberiandawn/edit.o tiberiandawn/ending.o tiberiandawn/event.o tiberiandawn/expand.o tiberiandawn/facing.o tiberiandawn/factory.o tiberiandawn/findpath.o tiberiandawn/flasher.o tiberiandawn/fly.o tiberiandawn/foot.o tiberiandawn/fuse.o tiberiandawn/gamedlg.o tiberiandawn/gauge.o tiberiandawn/globals.o tiberiandawn/goptions.o tiberiandawn/gscreen.o tiberiandawn/hdata.o tiberiandawn/heap.o tiberiandawn/help.o tiberiandawn/house.o tiberiandawn/iconset.o tiberiandawn/idata.o tiberiandawn/infantry.o tiberiandawn/init.o tiberiandawn/intro.o tiberiandawn/iomap.o tiberiandawn/ioobj.o tiberiandawn/ipxconn.o tiberiandawn/ipxgconn.o tiberiandawn/ipxmgr.o tiberiandawn/jshell.o tiberiandawn/layer.o tiberiandawn/lib.o tiberiandawn/list.o tiberiandawn/loaddlg.o tiberiandawn/logic.o tiberiandawn/map.o tiberiandawn/mapeddlg.o tiberiandawn/mapedit.o tiberiandawn/mapedplc.o tiberiandawn/mapedsel.o tiberiandawn/mapedtm.o tiberiandawn/mapsel.o tiberiandawn/menus.o tiberiandawn/miscasm.o tiberiandawn/mission.o tiberiandawn/monoc.o tiberiandawn/mouse.o tiberiandawn/mplayer.o tiberiandawn/msgbox.o tiberiandawn/msglist.o tiberiandawn/nulldlg.o tiberiandawn/object.o tiberiandawn/odata.o tiberiandawn/options.o tiberiandawn/overlay.o tiberiandawn/power.o tiberiandawn/profile.o tiberiandawn/queue.o tiberiandawn/radar.o tiberiandawn/radio.o tiberiandawn/reinf.o tiberiandawn/rules.o tiberiandawn/saveload.o tiberiandawn/scenario.o tiberiandawn/scenarioini.o tiberiandawn/score.o tiberiandawn/scroll.o tiberiandawn/sdata.o tiberiandawn/shapebtn.o tiberiandawn/sidebar.o tiberiandawn/slider.o tiberiandawn/smudge.o tiberiandawn/sounddlg.o tiberiandawn/special.o tiberiandawn/startup.o tiberiandawn/stats.o tiberiandawn/super.o tiberiandawn/tab.o tiberiandawn/tarcom.o tiberiandawn/target.o tiberiandawn/tdata.o tiberiandawn/team.o tiberiandawn/teamtype.o tiberiandawn/techno.o tiberiandawn/template.o tiberiandawn/terrain.o tiberiandawn/textbtn.o tiberiandawn/theme.o tiberiandawn/trigger.o tiberiandawn/turret.o tiberiandawn/txtlabel.o tiberiandawn/udata.o tiberiandawn/unit.o tiberiandawn/visudlg.o tiberiandawn/winstub.-o vanillatd -L/usr/local/amiga/ppc-amigaos/SDK/Local/newlib/lib/libopenal.-L/usr/local/amiga/ppc-amigaos/SDK/Local/newlib/lib/libSDL2.-lm -lc -lpthread -lz
common
/vqaver.oIn function `_Z18VQA_DateTimeStringv':
vqaver.cpp:(.text+0x7e): undefined reference to 
`GitCommitDate'
vqaver.cpp:(.text+0x82): undefined reference to `GitCommitDate'
common/vqaver.oIn function `_Z12VQA_IDStringv':
vqaver.cpp:(.text+0xf2): undefined reference to 
`GitCommitDate'
vqaver.cpp:(.text+0xf6): undefined reference to `GitCommitDate'
common/wwkeyboard.oIn function `_ZN15WWKeyboardClass8To_ASCIIEt':
wwkeyboard.cpp:(.text+0x644): undefined reference to 
`SDL_GetModState'
common/wwkeyboard.o: In function `_ZN15WWKeyboardClass23Fill_Buffer_From_SystemEv'
:
wwkeyboard.cpp:(.text+0xddc): undefined reference to `SDL_GameControllerFromInstanceID'
wwkeyboard.cpp:(.text+0xe08): undefined reference to 
`SDL_GameControllerClose'
wwkeyboard.cpp:(.text+0xe34): undefined reference to `SDL_GameControllerOpen'
wwkeyboard.cpp:(.text+0xe94): undefined reference to `SDL_PollEvent'
common/wwkeyboard.o: In function 
`_ZN15WWKeyboardClass15Open_ControllerEv':
wwkeyboard.cpp:(.text+0xf50): undefined reference to `SDL_IsGameController'
wwkeyboard.cpp:(.text+0xf70): undefined reference to `SDL_GameControllerOpen'
wwkeyboard.cpp:(.text+0xf8c): undefined reference to 
`SDL_NumJoysticks'
common/wwkeyboard.o: In function `_ZN15WWKeyboardClass16Close_ControllerEv'
:
wwkeyboard.cpp:(.text+0xffc): undefined reference to `SDL_GameControllerGetAttached'
wwkeyboard.cpp:(.text+0x1024): undefined reference to 
`SDL_GameControllerClose'
common/wwkeyboard.o: In function `_ZN15WWKeyboardClass30Process_Controller_Axis_MotionEv'
:
wwkeyboard.cpp:(.text+0x1068): undefined reference to `SDL_GetTicks'
common/soundio_openal.o: In function 
`_Z20Maintenance_Callbackv':
soundio_openal.cpp:(.text+0x1580): undefined reference to `alGetSourcei'
soundio_openal.cpp:(.text+0x1618): undefined reference to `alSourceUnqueueBuffers'
soundio_openal.cpp:(.text+0x1648): undefined reference to 
`alBufferData'
soundio_openal.cpp:(.text+0x1664): undefined reference to `alSourceQueueBuffers'
soundio_openal.cpp:(.text+0x16ac): undefined reference to `alGetSourcei'
soundio_openal.cpp:(.text+0x1900): undefined reference to 
`alSourcef'
soundio_openal.cpp:(.text+0x1964): undefined reference to `alSourcef'
common/soundio_openal.oIn function `_Z10Audio_Initibib':
soundio_openal.cpp:(.text+0x1d58): undefined reference to 
`alcOpenDevice'
soundio_openal.cpp:(.text+0x1d80): undefined reference to `alcCreateContext'
soundio_openal.cpp:(.text+0x1dac): undefined reference to `alcMakeContextCurrent'
soundio_openal.cpp:(.text+0x1dd4): undefined reference to 
`alcCloseDevice'
soundio_openal.cpp:(.text+0x1e60): undefined reference to `alGetError'
soundio_openal.cpp:(.text+0x1e9c): undefined reference to `alGenSources'
soundio_openal.cpp:(.text+0x1ea0): undefined reference to 
`alGetError'
common/soundio_openal.o: In function `_Z9Sound_Endv'
:
soundio_openal.cpp:(.text+0x1fc0): undefined reference to `alDeleteSources'
soundio_openal.cpp:(.text+0x2014): undefined reference to 
`alcGetContextsDevice'
soundio_openal.cpp:(.text+0x2024): undefined reference to `alcMakeContextCurrent'
soundio_openal.cpp:(.text+0x2034): undefined reference to `alcDestroyContext'
soundio_openal.cpp:(.text+0x203c): undefined reference to 
`alcCloseDevice'
common/soundio_openal.o: In function `_Z11Stop_Samplei'
:
soundio_openal.cpp:(.text+0x21b0): undefined reference to `alSourceStop'
soundio_openal.cpp:(.text+0x21cc): undefined reference to 
`alGetSourcei'
soundio_openal.cpp:(.text+0x21ec): undefined reference to `alSourceUnqueueBuffers'
soundio_openal.cpp:(.text+0x2228): undefined reference to `alDeleteBuffers'
common/soundio_openal.o: In function 
`_Z13Sample_Statusi':
soundio_openal.cpp:(.text+0x2370): undefined reference to `alGetSourcei'
common/soundio_openal.oIn function `_Z22Attempt_To_Play_Bufferi':
soundio_openal.cpp:(.text+0x25e4): undefined reference to 
`alSourcePlay'
common/soundio_openal.o: In function `_Z18Play_Sample_HandlePKviisi'
:
soundio_openal.cpp:(.text+0x297c): undefined reference to `alGetSourcei'
soundio_openal.cpp:(.text+0x29c4): undefined reference to 
`alSourceStop'
soundio_openal.cpp:(.text+0x29e0): undefined reference to `alGetSourcei'
soundio_openal.cpp:(.text+0x2a00): undefined reference to `alSourceUnqueueBuffers'
soundio_openal.cpp:(.text+0x2a3c): undefined reference to 
`alDeleteBuffers'
soundio_openal.cpp:(.text+0x2a50): undefined reference to `alGenBuffers'
soundio_openal.cpp:(.text+0x2b0c): undefined reference to `alBufferData'
soundio_openal.cpp:(.text+0x2b7c): undefined reference to 
`alSourceQueueBuffers'
soundio_openal.cpp:(.text+0x2bf4): undefined reference to `alSourcef'
common/soundio_openal.oIn function `_Z13Set_Score_Voli':
soundio_openal.cpp:(.text+0x2d74): undefined reference to 
`alSourcef'
common/soundio_openal.o: In function `_Z26Start_Primary_Sound_Bufferb'
:
soundio_openal.cpp:(.text+0x3288): undefined reference to `alcProcessContext'
common/soundio_openal.o: In function 
`_Z25Stop_Primary_Sound_Bufferv':
soundio_openal.cpp:(.text+0x3308): undefined reference to `alcSuspendContext'
common/vqaaudio_openal.oIn function `_Z11Queue_Audioj':
vqaaudio_openal.cpp:(.text+0x1c4): undefined reference to 
`alIsSource'
vqaaudio_openal.cpp:(.text+0x24c): undefined reference to `alBufferData'
vqaaudio_openal.cpp:(.text+0x268): undefined reference to `alSourceQueueBuffers'
common/vqaaudio_openal.o: In function 
`_Z17VQA_AudioCallbackv':
vqaaudio_openal.cpp:(.text+0x498): undefined reference to `alIsSource'
vqaaudio_openal.cpp:(.text+0x4cc): undefined reference to `alGetSourcei'
vqaaudio_openal.cpp:(.text+0x4f4): undefined reference to 
`alSourceUnqueueBuffers'
common/vqaaudio_openal.o: In function `_Z14VQA_StartAudioP10_VQAHandle'
:
vqaaudio_openal.cpp:(.text+0x8c0): undefined reference to `alIsSource'
vqaaudio_openal.cpp:(.text+0x8fc): undefined reference to 
`alGetSourcei'
vqaaudio_openal.cpp:(.text+0x90c): undefined reference to `alSourceStop'
vqaaudio_openal.cpp:(.text+0x92c): undefined reference to `alSourceUnqueueBuffers'
vqaaudio_openal.cpp:(.text+0x958): undefined reference to 
`alDeleteSources'
vqaaudio_openal.cpp:(.text+0x96c): undefined reference to `alDeleteBuffers'
vqaaudio_openal.cpp:(.text+0x980): undefined reference to `alGenBuffers'
vqaaudio_openal.cpp:(.text+0x994): undefined reference to 
`alGenSources'
vqaaudio_openal.cpp:(.text+0xa5c): undefined reference to `alSourcef'
vqaaudio_openal.cpp:(.text+0xa6c): undefined reference to `alSourcePlay'
common/vqaaudio_openal.o: In function 
`_Z13VQA_StopAudioP10_VQAHandle':
vqaaudio_openal.cpp:(.text+0xb14): undefined reference to `alIsSource'
vqaaudio_openal.cpp:(.text+0xb58): undefined reference to `alGetSourcei'
vqaaudio_openal.cpp:(.text+0xb68): undefined reference to 
`alSourceStop'
vqaaudio_openal.cpp:(.text+0xb88): undefined reference to `alSourceUnqueueBuffers'
vqaaudio_openal.cpp:(.text+0xbb4): undefined reference to `alDeleteSources'
vqaaudio_openal.cpp:(.text+0xbc8): undefined reference to 
`alDeleteBuffers'
common/vqaaudio_openal.o: In function `_Z14VQA_PauseAudiov'
:
vqaaudio_openal.cpp:(.text+0xc6c): undefined reference to `alIsSource'
vqaaudio_openal.cpp:(.text+0xcb0): undefined reference to 
`alSourcePause'
common/vqaaudio_openal.o: In function `_Z15VQA_ResumeAudiov'
:
vqaaudio_openal.cpp:(.text+0xd3c): undefined reference to `alIsSource'
vqaaudio_openal.cpp:(.text+0xd80): undefined reference to 
`alSourcePlay'
common/video_sdl2.o: In function `_ZL24Update_HWCursor_Settingsv'
:
video_sdl2.cpp:(.text+0xc34): undefined reference to `SDL_GetRendererOutputSize'
common/video_sdl2.o: In function 
`_Z14Set_Video_Modeiii':
video_sdl2.cpp:(.text+0x11a4): undefined reference to `SDL_Init'
video_sdl2.cpp:(.text+0x11ac): undefined reference to `SDL_ShowCursor'
video_sdl2.cpp:(.text+0x1334): undefined reference to 
`SDL_CreateWindow'
video_sdl2.cpp:(.text+0x136c): undefined reference to `SDL_GetWindowPixelFormat'
video_sdl2.cpp:(.text+0x13d0): undefined reference to `SDL_GetRenderDriverInfo'
video_sdl2.cpp:(.text+0x142c): undefined reference to 
`SDL_GetNumRenderDrivers'
video_sdl2.cpp:(.text+0x146c): undefined reference to `SDL_CreateRenderer'
video_sdl2.cpp:(.text+0x14ac): undefined reference to `SDL_GetRendererInfo'
video_sdl2.cpp:(.text+0x15b0): undefined reference to 
`SDL_SetHintWithPriority'
video_sdl2.cpp:(.text+0x15c8): undefined reference to `SDL_AllocPalette'
video_sdl2.cpp:(.text+0x168c): undefined reference to `SDL_Init'
common/video_sdl2.o: In function 
`_Z23Toggle_Video_Fullscreenv':
video_sdl2.cpp:(.text+0x1748): undefined reference to `SDL_SetWindowFullscreen'
video_sdl2.cpp:(.text+0x177c): undefined reference to `SDL_SetWindowSize'
video_sdl2.cpp:(.text+0x1790): undefined reference to 
`SDL_SetWindowFullscreen'
video_sdl2.cpp:(.text+0x17a8): undefined reference to `SDL_SetWindowFullscreen'
video_sdl2.cpp:(.text+0x17d8): undefined reference to `SDL_SetWindowSize'
common/video_sdl2.o: In function 
`_Z21Set_Video_Cursor_Clipb':
video_sdl2.cpp:(.text+0x18cc): undefined reference to `SDL_SetWindowGrab'
video_sdl2.cpp:(.text+0x191c): undefined reference to `SDL_SetRelativeMouseMode'
video_sdl2.cpp:(.text+0x1960): undefined reference to 
`SDL_GetMouseState'
video_sdl2.cpp:(.text+0x1a54): undefined reference to `SDL_WarpMouseInWindow'
video_sdl2.cpp:(.text+0x1a6c): undefined reference to `SDL_SetWindowGrab'
video_sdl2.cpp:(.text+0x1a94): undefined reference to 
`SDL_SetRelativeMouseMode'
common/video_sdl2.o: In function `_Z15Get_Video_MouseRiS_'
:
video_sdl2.cpp:(.text+0x1e9c): undefined reference to `SDL_GetMouseState'
common/video_sdl2.o: In function 
`_Z16Reset_Video_Modev':
video_sdl2.cpp:(.text+0x1f84): undefined reference to `SDL_FreeCursor'
video_sdl2.cpp:(.text+0x1fbc): undefined reference to `SDL_FreeCursor'
video_sdl2.cpp:(.text+0x1ff4): undefined reference to 
`SDL_FreeSurface'
video_sdl2.cpp:(.text+0x2014): undefined reference to `SDL_DestroyRenderer'
video_sdl2.cpp:(.text+0x2030): undefined reference to `SDL_FreePalette'
video_sdl2.cpp:(.text+0x204c): undefined reference to 
`SDL_DestroyWindow'
common/video_sdl2.o: In function `_ZL15Update_HWCursorv'
:
video_sdl2.cpp:(.text+0x21f8): undefined reference to `SDL_FreeSurface'
video_sdl2.cpp:(.text+0x2228): undefined reference to 
`SDL_CreateRGBSurfaceWithFormat'
video_sdl2.cpp:(.text+0x2288): undefined reference to `SDL_CreateRGBSurfaceFrom'
video_sdl2.cpp:(.text+0x22b8): undefined reference to `SDL_SetSurfacePalette'
video_sdl2.cpp:(.text+0x22d4): undefined reference to 
`SDL_SetColorKey'
video_sdl2.cpp:(.text+0x2460): undefined reference to `SDL_FreeCursor'
video_sdl2.cpp:(.text+0x2514): undefined reference to `SDL_CreateColorCursor'
common/video_sdl2.o: In function 
`_Z14Set_DD_PalettePv':
video_sdl2.cpp:(.text+0x2774): undefined reference to `SDL_SetPaletteColors'
common/video_sdl2.oIn function `_ZN16VideoSurfaceSDL2C2Eii8GBC_Enum':
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL2C2Eii8GBC_Enum[_ZN16VideoSurfaceSDL2C5Eii8GBC_Enum]+0x164): undefined reference to 
`SDL_CreateRGBSurface'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL2C2Eii8GBC_Enum[_ZN16VideoSurfaceSDL2C5Eii8GBC_Enum]+0x18c): undefined reference to `SDL_SetSurfacePalette'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL2C2Eii8GBC_Enum[_ZN16VideoSurfaceSDL2C5Eii8GBC_Enum]+0x1cc): undefined reference to `SDL_CreateRGBSurfaceWithFormat'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL2C2Eii8GBC_Enum[_ZN16VideoSurfaceSDL2C5Eii8GBC_Enum]+0x208): undefined reference to 
`SDL_CreateTexture'
common/video_sdl2.o: In function `_ZN16VideoSurfaceSDL2D2Ev'
:
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL2D2Ev[_ZN16VideoSurfaceSDL2D5Ev]+0x80): undefined reference to `SDL_FreeSurface'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL2D2Ev[_ZN16VideoSurfaceSDL2D5Ev]+0xa0): undefined reference to 
`SDL_DestroyTexture'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL2D2Ev[_ZN16VideoSurfaceSDL2D5Ev]+0xc8): undefined reference to `SDL_FreeSurface'
common/video_sdl2.oIn function `_ZN16VideoSurfaceSDL28LockWaitEv':
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL28LockWaitEv[_ZN16VideoSurfaceSDL28LockWaitEv]+0x24): undefined reference to 
`SDL_LockSurface'
common/video_sdl2.o: In function `_ZN16VideoSurfaceSDL26UnlockEv'
:
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL26UnlockEv[_ZN16VideoSurfaceSDL26UnlockEv]+0x24): undefined reference to `SDL_UnlockSurface'
common/video_sdl2.o: In function 
`_ZN16VideoSurfaceSDL23BltERK4RectP12VideoSurfaceS2_b':
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL23BltERK4RectP12VideoSurfaceS2_b[_ZN16VideoSurfaceSDL23BltERK4RectP12VideoSurfaceS2_b]+0x4c): undefined reference to `SDL_UpperBlit'
common/video_sdl2.oIn function `_ZN16VideoSurfaceSDL28FillRectERK4Recth':
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL28FillRectERK4Recth[_ZN16VideoSurfaceSDL28FillRectERK4Recth]+0x3c): undefined reference to 
`SDL_FillRect'
common/video_sdl2.o: In function `_ZN16VideoSurfaceSDL213RenderSurfaceEv'
:
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL213RenderSurfaceEv[_ZN16VideoSurfaceSDL213RenderSurfaceEv]+0x38): undefined reference to `SDL_UpperBlit'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL213RenderSurfaceEv[_ZN16VideoSurfaceSDL213RenderSurfaceEv]+0x74): undefined reference to 
`SDL_SetCursor'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL213RenderSurfaceEv[_ZN16VideoSurfaceSDL213RenderSurfaceEv]+0x9c): undefined reference to `SDL_FreeCursor'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL213RenderSurfaceEv[_ZN16VideoSurfaceSDL213RenderSurfaceEv]+0xe0): undefined reference to `SDL_ShowCursor'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL213RenderSurfaceEv[_ZN16VideoSurfaceSDL213RenderSurfaceEv]+0x1b4): undefined reference to 
`SDL_UpperBlit'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL213RenderSurfaceEv[_ZN16VideoSurfaceSDL213RenderSurfaceEv]+0x1e8): undefined reference to `SDL_UpdateTexture'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL213RenderSurfaceEv[_ZN16VideoSurfaceSDL213RenderSurfaceEv]+0x1f8): undefined reference to `SDL_RenderClear'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL213RenderSurfaceEv[_ZN16VideoSurfaceSDL213RenderSurfaceEv]+0x220): undefined reference to 
`SDL_RenderCopy'
video_sdl2.cpp:(.text._ZN16VideoSurfaceSDL213RenderSurfaceEv[_ZN16VideoSurfaceSDL213RenderSurfaceEv]+0x230): undefined reference to `SDL_RenderPresent'
tiberiandawn/init.oIn function `_Z14Version_Numberv':
init.cpp:(.text+0x44ba): undefined reference to 
`GitTag'
init.cpp:(.text+0x44be): undefined reference to `GitTag'
init.cpp:(.text+0x44d2): undefined reference to `GitUncommittedChanges'
init.cpp:(.text+0x44d6): undefined reference to 
`GitUncommittedChanges'
init.cpp:(.text+0x44e2): undefined reference to `GitTag'
init.cpp:(.text+0x44e6): undefined reference to `GitTag'
init.cpp:(.text+0x44fa): undefined reference to 
`GitRevision'
init.cpp:(.text+0x44fe): undefined reference to `GitRevision'
init.cpp:(.text+0x4502): undefined reference to `GitUncommittedChanges'
init.cpp:(.text+0x4506): undefined reference to 
`GitUncommittedChanges'
init.cpp:(.text+0x4526): undefined reference to `GitShortSHA1'
init.cpp:(.text+0x452a): undefined reference to `GitShortSHA1'
init.cpp:(.text+0x4556): undefined reference to 
`GitUncommittedChanges'
init.cpp:(.text+0x455a): undefined reference to `GitUncommittedChanges'
init.cpp:(.text+0x457a): undefined reference to `GitShortSHA1'
init.cpp:(.text+0x457e): undefined reference to 
`GitShortSHA1'
init.cpp:(.text+0x4586): undefined reference to `GitTag'
init.cpp:(.text+0x458a): undefined reference to `GitTag'
tiberiandawn/ipxmgr.o: In function 
`_ZN15IPXManagerClass7ServiceEv':
ipxmgr.cpp:(.text+0x19f2): undefined reference to `Winsock'
ipxmgr.cpp:(.text+0x19f6): undefined reference to `Winsock'
ipxmgr.cpp:(.text+0x1a0a): undefined reference to 
`Winsock'
ipxmgr.cpp:(.text+0x1a0e): undefined reference to `Winsock'
ipxmgr.cpp:(.text+0x1c32): undefined reference to `Winsock'
tiberiandawn/ipxmgr.o:ipxmgr.cpp:(.text+0x1c36): more undefined references to 
`Winsock' follow
collect2: error: ld returned 1 exit status
make: *** [makefile.os4:315: vanillatd] Error 1

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Home away from home
Home away from home


See User information
@Sinan
You need to compile sdl2 and openal for clib2. It's only matter of of makefile change to add -mcrt=clib2 in them. SDL2 need to grab last one from Capehill and for openal last one from Salas00.

I do have both compiled for clib2 already, can share if there needs.


Edited by kas1e on 2022/7/7 8:40:37
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Thanks to your instructions, I have compiled both libraries.

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Why aos4util_newlib? (And upcoming Clib2 changes vs Newlib)
Amigans Defender
Amigans Defender


See User information
I've compiled it. But it has a lot of endianess problem.
However if you want to use my clib2 checkout the current beta3 branch and recompile the lib from scratch since it has many improvements and fixes that are not in the latest beta release

i'm really tired...
Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project