Who's Online 
 
              
          136  user(s) are online (
96  user(s) are browsing 
Forums )
Members: 1
Guests: 135
 
samo79 ,
    more...
  
      
     
   
 
                
        
            
                        
            
                        
  
      
          Topic options 
                           
            
      
          View mode 
                        Newest First 
                 
                      
              
    
 
    
  
    
    
        
    
    
        
            
         
        
            Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/4 19:34 
                                  
                                    #1  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        Hi all
Currently I am trying to compile Vanilla-Conquer for AmigaOS4 (Open Source Version of C&C) on Cygwin64-Cross-Compiler on new forthcoming SDK for OS4. 
Recently Vanilla-Conquer was ported to MorphOS. BeWorld was kind enough to share his makefile.mos
This is the makefile for mos.
TARGET          =  vanillatd
 =  vanillara
 = $( shell date  + "%-d.%-m.%Y" )
 VERSION  =  1.0R1
 =  ppc - morphos - g ++- 11
 = - O2  - noixemul  - std = gnu ++ 11  - Wall  - fcheck -new - fsigned - char  - DNDEBUG  - D__BIG_ENDIAN__  - DMEGAMAPS  - DENGLISH  - DFIXIT_FAST_LOAD  - DSDL2_BUILD  - DOPENAL_BUILD  - DTRUE_FALSE_DEFINED  - D__AMIGA__  - DNOMINMAX  - fpermissive  - Wno - narrowing  - D__AMIGAVER__ = \ "$(VERSION)\"   - D__AMIGADATE__ = \ "$(AMIGADATE)\"
 CXXFLAGS     += - I / usr / local /include/ SDL2  - I / usr / local /include/ AL   - I / usr / local /include - I ./ common  - I ./
 CXXLIBS         = - noixemul  - L / usr / local / lib  - lopenal  - lSDL2  - lm  - lc  - lpthread
 =  ppc - morphos - strip
 =  common / gitinfo . o 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 / tcpip . o common / tcpip_null . 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 / wspudp . o common / wwkeyboard . o common / wwmouse . o common / soundio_openal . o common / vqaaudio_openal . o common / video_sdl2 . o
 =  tiberiandawn / aadata . o \
 /abstract. o \
 / adata . o \
 / aircraft . o \
 / anim . o \
 / audio . o \
 / base . o \
 / bbdata . o \
 / bdata . o \
 / building . o \
 / bullet . o \
 / cargo . o \
 / ccini . o \
 / cdata . o \
 / cell . o \
 / checkbox . o \
 / cheklist . o \
 / colrlist . o \
 / combat . o \
 / confdlg . o \
 / conquer . o \
 /const. o \
 / coord . o \
 / credits . o \
 / debug . o \
 / dial8 . o \
 / dialog . o \
 / display . o \
 / door . o \
 / drive . o \
 / drop . o \
 / edit . o \
 / ending . o \
 / event . o \
 / expand . o \
 / facing . o \
 / factory . o \
 / findpath . o \
 / flasher . o \
 / fly . o \
 / foot . o \
 / fuse . o \
 / gamedlg . o \
 / gauge . o \
 / globals . o \
 / goptions . o \
 / gscreen . o \
 / hdata . o \
 / heap . o \
 / help . o \
 / house . o \
 / iconset . o \
 / idata . o \
 / infantry . o \
 / init . o \
 / intro . o \
 / iomap . o \
 / ioobj . o \
 / ipx . o \
 / ipx95 . o \
 / ipxconn . o \
 / ipxgconn . o \
 / ipxmgr . o \
 / jshell . o \
 / layer . o \
 / lib . o \
 /list. o \
 / loaddlg . o \
 / logic . o \
 / map . o \
 / mapeddlg . o \
 / mapedit . o \
 / mapedplc . o \
 / mapedsel . o \
 / mapedtm . o \
 / mapsel . o \
 / menus . o \
 / miscasm . o \
 / mission . o \
 / monoc . o \
 / mouse . o \
 / mplayer . o \
 / msgbox . o \
 / msglist . o \
 / netdlg . o \
 / noseqcon . o \
 / nulldlg . o \
 / object . o \
 / odata . o \
 / options . o \
 / overlay . o \
 / power . o \
 / profile . o \
 / queue . o \
 / radar . o \
 / radio . o \
 / reinf . o \
 / rules . o \
 / saveload . o \
 / scenario . o \
 / scenarioini . o \
 / score . o \
 / scroll . o \
 / sdata . o \
 / shapebtn . o \
 / sidebar . o \
 / slider . o \
 / smudge . o \
 / sounddlg . o \
 / special . o \
 / startup . o \
 / stats . o \
 / super . o \
 / tab . o \
 / tarcom . o \
 / target . o \
 / tdata . o \
 / team . o \
 / teamtype . o \
 / techno . o \
 / template . o \
 / terrain . o \
 / textbtn . o \
 / theme . o \
 / trigger . o \
 / turret . o \
 / txtlabel . o \
 / udata . o \
 / unit . o \
 / visudlg . o \
 / winstub . o 
 =  \
 / aadata . o \
 /abstract. o \
 / adata . o \
 / aircraft . o \
 / anim . o \
 / audio . o \
 / bar . o \
 / base . o \
 / bbdata . o \
 / bdata . o \
 / bench . o \
 / bigcheck . o \
 / building . o \
 / bullet . o \
 / cargo . o \
 / carry . o \
 / ccini . o \
 / ccptr . o \
 / cdata . o \
 / cell . o \
 / checkbox . o \
 / cheklist . o \
 / colrlist . o \
 / combat . o \
 / confdlg . o \
 / conquer . o \
 /const. o \
 / coord . o \
 / crate . o \
 / credits . o \
 / debug . o \
 / dial8 . o \
 / dialog . o \
 / dibfile . o \
 / dibutil . o \
 / display . o \
 / door . o \
 / drive . o \
 / drop . o \
 / edit . o \
 / egos . o \
 / ending . o \
 / event . o \
 / expand . o \
 / face . o \
 / facing . o \
 / factory . o \
 / findpath . o \
 / flasher . o \
 / fly . o \
 / foot . o \
 / fuse . o \
 / gamedlg . o \
 / gauge . o \
 / globals . o \
 / goptions . o \
 / gscreen . o \
 / hdata . o \
 / heap . o \
 / help . o \
 / house . o \
 / iconlist . o \
 / iconset . o \
 / idata . o \
 / infantry . o \
 / init . o \
 / intro . o \
 / iomap . o \
 / ioobj . o \
 / ipx . o \
 / ipx95 . o \
 / ipxconn . o \
 / ipxgconn . o \
 / ipxmgr . o \
 / jshell . o \
 / layer . o \
 /list. o \
 / loaddlg . o \
 / logic . o \
 / map . o \
 / mapeddlg . o \
 / mapedit . o \
 / mapedplc . o \
 / mapedsel . o \
 / mapedtm . o \
 / mapsel . o \
 / menus . o \
 / miscasm . o \
 / mission . o \
 / monoc . o \
 / mouse . o \
 / mplayer . o \
 / msgbox . o \
 / msglist . o \
 / netdlg . o \
 / nulldlg . o \
 / object . o \
 / odata . o \
 / options . o \
 / overlay . o \
 / power . o \
 / profile . o \
 / queue . o \
 / radar . o \
 / radio . o \
 / rawolapi . o \
 / reinf . o \
 / rules . o \
 / saveload . o \
 / scenario . o \
 / score . o \
 / scroll . o \
 / sdata . o \
 / seditdlg . o \
 / sendfile . o \
 / session . o \
 / shapebtn . o \
 / sidebar . o \
 / slider . o \
 / smudge . o \
 / sounddlg . o \
 / special . o \
 / startup . o \
 / statbtn . o \
 / stats . o \
 / super . o \
 / tab . o \
 / taction . o \
 / target . o \
 / tdata . o \
 / team . o \
 / teamtype . o \
 / techno . o \
 / template . o \
 / terrain . o \
 / tevent . o \
 / textbtn . o \
 / theme . o \
 / tooltip . o \
 / tracker . o \
 / trigger . o \
 / trigtype . o \
 / txtlabel . o \
 / udata . o \
 / unit . o \
 / vdata . o \
 / version . o \
 / vessel . o \
 / visudlg . o \
 / vortex . o \
 / warhead . o \
 / weapon . o \
 / winstub . o \
 / wol_cgam . o \
 / wol_chat . o \
 / wol_dnld . o \
 / wol_gsup . o \
 / wol_logn . o \
 / wol_main . o \
 / wol_opt . o \
 / wolapiob . o \
 / woledit . o \
 / wolstrng . o
 = $( OBJS_COMMON ) $( OBJS_TIBDAWN )
 OBJS2  = $( OBJS_COMMON ) $( OBJS_REDALERT )
 all : $( TARGET )
 TARGET ): $( OBJS1 )
 CXX ) $( CXXFLAGS ) - o  $@ $^ $( CXXLIBS )
 STRIP ) -- strip - all  $( TARGET ) - o  $( TARGET ). strip
 $( TARGET2 ): $( OBJS2 )
 CXX ) $( CXXFLAGS ) - o  $@ $^ $( CXXLIBS )
 STRIP ) -- strip - all  $( TARGET2 ) - o  $( TARGET2 ). strip
 :
 rm  - f  $( OBJS_COMMON ) $( OBJS_TIBDAWN )
 rm  - f  $( TARGET ) $( TARGET ). s  $( TARGET ). strip
 - f  $( TARGET2 ) $( TARGET2 ). s  $( TARGET2 ). strip
 :
 ppc - morphos - objdump  -- disassemble - all  -- reloc  $( TARGET ) >$( TARGET ). s 
 
And I modified makefile for AmigaOS4
TARGET          =  vanillatd
 =  vanillara
 =  04 - 07 - 22
 =  1.0R1
 =  ppc - amigaos - g ++
 CXXFLAGS      = - O2  - std = gnu ++ 11  - Wall  - fcheck -new - fsigned - char  - DNDEBUG  - D__BIG_ENDIAN__  - DMEGAMAPS  - DENGLISH  - DFIXIT_FAST_LOAD  - DSDL2_BUILD  - DOPENAL_BUILD  - DTRUE_FALSE_DEFINED  - D__AMIGA__  - DNOMINMAX  - fpermissive  - Wno - narrowing  - D__AMIGAVER__ = \ "$(VERSION)\"   - D__AMIGADATE__ = \ "$(AMIGADATE)\"
 CXXFLAGS     += - 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 ./
 CXXLIBS         = - L / usr / local / amiga / ppc - amigaos / SDK / Local / lib  - lopenal  - lSDL2  - lm  - lc  - lpthread
 =  ppc - amigaos - strip
 =  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 / tcpip . o common / tcpip_null . 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 / wspudp . o common / wwkeyboard . o common / wwmouse . o common / soundio_openal . o common / vqaaudio_openal . o common / video_sdl2 . o
 =  tiberiandawn / aadata . o \
 /abstract. o \
 / adata . o \
 / aircraft . o \
 / anim . o \
 / audio . o \
 / base . o \
 / bbdata . o \
 / bdata . o \
 / building . o \
 / bullet . o \
 / cargo . o \
 / ccini . o \
 / cdata . o \
 / cell . o \
 / checkbox . o \
 / cheklist . o \
 / colrlist . o \
 / combat . o \
 / confdlg . o \
 / conquer . o \
 /const. o \
 / coord . o \
 / credits . o \
 / debug . o \
 / dial8 . o \
 / dialog . o \
 / display . o \
 / door . o \
 / drive . o \
 / drop . o \
 / edit . o \
 / ending . o \
 / event . o \
 / expand . o \
 / facing . o \
 / factory . o \
 / findpath . o \
 / flasher . o \
 / fly . o \
 / foot . o \
 / fuse . o \
 / gamedlg . o \
 / gauge . o \
 / globals . o \
 / goptions . o \
 / gscreen . o \
 / hdata . o \
 / heap . o \
 / help . o \
 / house . o \
 / iconset . o \
 / idata . o \
 / infantry . o \
 / init . o \
 / intro . o \
 / iomap . o \
 / ioobj . o \
 / ipx . o \
 / ipx95 . o \
 / ipxconn . o \
 / ipxgconn . o \
 / ipxmgr . o \
 / jshell . o \
 / layer . o \
 / lib . o \
 /list. o \
 / loaddlg . o \
 / logic . o \
 / map . o \
 / mapeddlg . o \
 / mapedit . o \
 / mapedplc . o \
 / mapedsel . o \
 / mapedtm . o \
 / mapsel . o \
 / menus . o \
 / miscasm . o \
 / mission . o \
 / monoc . o \
 / mouse . o \
 / mplayer . o \
 / msgbox . o \
 / msglist . o \
 / netdlg . o \
 / noseqcon . o \
 / nulldlg . o \
 / object . o \
 / odata . o \
 / options . o \
 / overlay . o \
 / power . o \
 / profile . o \
 / queue . o \
 / radar . o \
 / radio . o \
 / reinf . o \
 / rules . o \
 / saveload . o \
 / scenario . o \
 / scenarioini . o \
 / score . o \
 / scroll . o \
 / sdata . o \
 / shapebtn . o \
 / sidebar . o \
 / slider . o \
 / smudge . o \
 / sounddlg . o \
 / special . o \
 / startup . o \
 / stats . o \
 / super . o \
 / tab . o \
 / tarcom . o \
 / target . o \
 / tdata . o \
 / team . o \
 / teamtype . o \
 / techno . o \
 / template . o \
 / terrain . o \
 / textbtn . o \
 / theme . o \
 / trigger . o \
 / turret . o \
 / txtlabel . o \
 / udata . o \
 / unit . o \
 / visudlg . o \
 / winstub . o 
 =  \
 / aadata . o \
 /abstract. o \
 / adata . o \
 / aircraft . o \
 / anim . o \
 / audio . o \
 / bar . o \
 / base . o \
 / bbdata . o \
 / bdata . o \
 / bench . o \
 / bigcheck . o \
 / building . o \
 / bullet . o \
 / cargo . o \
 / carry . o \
 / ccini . o \
 / ccptr . o \
 / cdata . o \
 / cell . o \
 / checkbox . o \
 / cheklist . o \
 / colrlist . o \
 / combat . o \
 / confdlg . o \
 / conquer . o \
 /const. o \
 / coord . o \
 / crate . o \
 / credits . o \
 / debug . o \
 / dial8 . o \
 / dialog . o \
 / dibfile . o \
 / dibutil . o \
 / display . o \
 / door . o \
 / drive . o \
 / drop . o \
 / edit . o \
 / egos . o \
 / ending . o \
 / event . o \
 / expand . o \
 / face . o \
 / facing . o \
 / factory . o \
 / findpath . o \
 / flasher . o \
 / fly . o \
 / foot . o \
 / fuse . o \
 / gamedlg . o \
 / gauge . o \
 / globals . o \
 / goptions . o \
 / gscreen . o \
 / hdata . o \
 / heap . o \
 / help . o \
 / house . o \
 / iconlist . o \
 / iconset . o \
 / idata . o \
 / infantry . o \
 / init . o \
 / intro . o \
 / iomap . o \
 / ioobj . o \
 / ipx . o \
 / ipx95 . o \
 / ipxconn . o \
 / ipxgconn . o \
 / ipxmgr . o \
 / jshell . o \
 / layer . o \
 /list. o \
 / loaddlg . o \
 / logic . o \
 / map . o \
 / mapeddlg . o \
 / mapedit . o \
 / mapedplc . o \
 / mapedsel . o \
 / mapedtm . o \
 / mapsel . o \
 / menus . o \
 / miscasm . o \
 / mission . o \
 / monoc . o \
 / mouse . o \
 / mplayer . o \
 / msgbox . o \
 / msglist . o \
 / netdlg . o \
 / nulldlg . o \
 / object . o \
 / odata . o \
 / options . o \
 / overlay . o \
 / power . o \
 / profile . o \
 / queue . o \
 / radar . o \
 / radio . o \
 / rawolapi . o \
 / reinf . o \
 / rules . o \
 / saveload . o \
 / scenario . o \
 / score . o \
 / scroll . o \
 / sdata . o \
 / seditdlg . o \
 / sendfile . o \
 / session . o \
 / shapebtn . o \
 / sidebar . o \
 / slider . o \
 / smudge . o \
 / sounddlg . o \
 / special . o \
 / startup . o \
 / statbtn . o \
 / stats . o \
 / super . o \
 / tab . o \
 / taction . o \
 / target . o \
 / tdata . o \
 / team . o \
 / teamtype . o \
 / techno . o \
 / template . o \
 / terrain . o \
 / tevent . o \
 / textbtn . o \
 / theme . o \
 / tooltip . o \
 / tracker . o \
 / trigger . o \
 / trigtype . o \
 / txtlabel . o \
 / udata . o \
 / unit . o \
 / vdata . o \
 / version . o \
 / vessel . o \
 / visudlg . o \
 / vortex . o \
 / warhead . o \
 / weapon . o \
 / winstub . o \
 / wol_cgam . o \
 / wol_chat . o \
 / wol_dnld . o \
 / wol_gsup . o \
 / wol_logn . o \
 / wol_main . o \
 / wol_opt . o \
 / wolapiob . o \
 / woledit . o \
 / wolstrng . o
 = $( OBJS_COMMON ) $( OBJS_TIBDAWN )
 OBJS2  = $( OBJS_COMMON ) $( OBJS_REDALERT )
 all : $( TARGET )
 TARGET ): $( OBJS1 )
 CXX ) $( CXXFLAGS ) - o  $@ $^ $( CXXLIBS )
 STRIP ) -- strip - all  $( TARGET ) - o  $( TARGET ). strip
 $( TARGET2 ): $( OBJS2 )
 CXX ) $( CXXFLAGS ) - o  $@ $^ $( CXXLIBS )
 STRIP ) -- strip - all  $( TARGET2 ) - o  $( TARGET2 ). strip
 :
 rm  - f  $( OBJS_COMMON ) $( OBJS_TIBDAWN )
 rm  - f  $( TARGET ) $( TARGET ). s  $( TARGET ). strip
 - f  $( TARGET2 ) $( TARGET2 ). s  $( TARGET2 ). strip
 :
 ppc - amigaos - objdump  -- disassemble - all  -- reloc  $( TARGET ) >$( TARGET ). s 
 
I am able to compile and link some sources, but compiler halts with this error
common / paths_posix . cpp :  In  function  ‘const string & { anonymous }:: User_Home () ’ :
 common / paths_posix . cpp : 66 : 40 :  error :  ‘_SC_GETPW_R_SIZE_MAX’ was not declared in this scope
 |                  long bufsize  =  sysconf ( _SC_GETPW_R_SIZE_MAX );
 common / paths_posix . cpp : 66 : 32 :  error :  ‘sysconf’ was not declared in this scope ;  did you mean ‘sscanf’ ?
 66  |                  long bufsize  =  sysconf ( _SC_GETPW_R_SIZE_MAX );
 sscanf
 / paths_posix . cpp : 65 : 31 :  warning :  unused variable ‘pwd’  [- Wunused - variable ]
 65  |                  struct passwd pwd ;
 common / paths_posix . cpp :  In  function  ‘std :: string  { anonymous }:: Get_Posix_Default (const  char *, const  char *) ’ :
 common / paths_posix . cpp : 104 : 22 :  error :  ‘snprintf’ is not a member of ‘std’ ;  did you mean ‘sprintf’ ?
 104  |                  std :: snprintf ( buffer ,
 sprintf
 / paths_posix . cpp :  In member  function  ‘const char *  PathsClass :: Program_Path () ’ :
 common / paths_posix . cpp : 134 : 14 :  warning :  unused variable ‘buffer’  [- Wunused - variable ]
 134  |          char buffer [ PATH_MAX ];
 common / paths_posix . cpp :  In  function  ‘char *  realpath (const  char *,  char *) ’ :
 common / paths_posix . cpp : 284 : 24 :  warning :  ISO C ++  forbids converting a string constant to ‘char * ’  [- Wwrite - strings ]
 284  |                 return  "" ;
 common / paths_posix . cpp :  At  global  scope :
 common / paths_posix . cpp : 97 : 17 :  warning :  ‘std :: string  { anonymous }:: Get_Posix_Default (const  char *, const  char *) ’ defined but not used  [- Wunused -function]
 97  |      std :: string Get_Posix_Default (const  char *  env_var , const  char *  relative_path )
 make : *** [< builtin >:  common / paths_posix . o ]  Error 1 
 
Any help or suggestions are welcome.
Thanks
            
                                            
                
                
                    Edited by SinanSam460 on 2022/7/4 19:53:53
                      
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/4 20:00 
                                  
                                    #2  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Norway
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
its defined in "include/bits/confname.h"
https://code.woboq.org/qt5/include/bits/confname.h.html so I guess you need that file.
   Copyright (C) 1993-2018 Free Software Foundation, Inc.
   This file is part of the GNU C Library.
what if you compiled without glibc if that's a option, we use clib not glibc on AmigaOS.
            
                                    
 
     
    
                
                                
                (NutsAboutAmiga)
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/4 20:43 
                                  
                                    #3  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @LiveForIt
I modified as follows:
CXXFLAGS      = - mcrt = newlib  - std = gnu ++ 11  - Wall  - fcheck -new - fsigned - char  - DNDEBUG  - D__BIG_ENDIAN__  - DMEGAMAPS  - DENGLISH  - D_BSD_SOURCE  - DSDL2_BUILD  - DOPENAL_BUILD  - DTRUE_FALSE_DEFINED  - D__AMIGA__  - DNOMINMAX  - fpermissive  - Wno - narrowing  - D__AMIGAVER__ = \ "$(VERSION)\"   - D__AMIGADATE__ = \ "$(AMIGADATE)\"
 CXXFLAGS     += - 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 ./  
Now I get error in latest stages:
common / paths_posix . cpp :  In  function  ‘const string & { anonymous }:: User_Home () ’ :
 common / paths_posix . cpp : 72 : 40 :  error :  ‘_SC_GETPW_R_SIZE_MAX’ was not declared in this scope
 |                  long bufsize  =  sysconf ( _SC_GETPW_R_SIZE_MAX );
 common / paths_posix . cpp : 72 : 32 :  error :  ‘sysconf’ was not declared in this scope ;  did you mean ‘sscanf’ ?
 72  |                  long bufsize  =  sysconf ( _SC_GETPW_R_SIZE_MAX );
 sscanf
 / paths_posix . cpp : 71 : 31 :  warning :  unused variable ‘pwd’  [- Wunused - variable ]
 71  |                  struct passwd pwd ;
 common / paths_posix . cpp :  In  function  ‘std :: string  { anonymous }:: Get_Posix_Default (const  char *, const  char *) ’ :
 common / paths_posix . cpp : 110 : 22 :  error :  ‘snprintf’ is not a member of ‘std’ ;  did you mean ‘sprintf’ ?
 110  |                  std :: snprintf ( buffer ,
  
and later this:
In file included from common / framelimit . cpp : 10 :
 common / mssleep . h :  In  function  ‘void ms_sleep ( unsigned int ) ’ :
 common / mssleep . h : 30 : 21 :  error :  aggregate ‘timespec ts’ has incomplete type  and  cannot be defined
 |      struct timespec ts ;
 common / framelimit . cpp :  In  function  ‘void Frame_Limiter ( FrameLimitFlags ) ’ :
 common / framelimit . cpp : 60 : 8 :  error :  ‘WaitTOF’ was not declared in this scope
 |         WaitTOF ();    WaitTOF ();
 common / framelimit . cpp : 63 : 8 :  error :  ‘WaitTOF’ was not declared in this scope
 |         WaitTOF ();
  
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/4 22:32 
                                  
                                    #4  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Norway
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
                        
            
                                            
                
                
                    Edited by LiveForIt on 2022/7/4 23:20:36
                      
     
    
                
                                
                (NutsAboutAmiga)
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/4 23:32 
                                  
                                    #5  
     
    
                
                             Just popping in
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Älvsbyn, Sweden
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
                        
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/5 15:29 
                                  
                                    #6  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Norway
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
struct passwd is defined here.
https://www.mkssoftware.com/docs/man5/struct_passwd.5.asp Should point out none of this has anything to do with AmigaOS, we don’t have user logins, so you might as well fake it, create few dummy functions, to make compiler happy.
create header file you can include like pwd.h:
put this in this file..
struct passwd  {
 char  * pw_name ;
 char  * pw_passwd ;
 uid_t pw_uid ;
 gid_t pw_gid ;
 time_t pw_change ;
 char  * pw_class ;
 char  * pw_gecos ;
 char  * pw_dir ;
 char  * pw_shell ;
 time_t pw_expire ;
 extern long sysconf (  ULONG id  );
 enum  {
 _SC_GETPW_R_SIZE_MAX = 1001
 };  
create a .cpp file like dummy_pwd.cpp
long sysconf (  ULONG id  )
 id )
 _SC_GETPW_R_SIZE_MAX : return  100 ;
 printf ( "%s:%s:%d -- bad input value not supported\n" , __FILE__ , __FUNCTION__ , __LINE__ )
 0 ;
  
as for this "std::snprintf" change to "snprintf".
snprintf exists but its not in the std namespace..
make sure this files are included.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
            
                                    
 
     
    
                
                                
                (NutsAboutAmiga)
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/5 22:41 
                                  
                                    #7  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        Nice, this should work quite much every OS4 machine?
                        
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/6 8:31 
                                  
                                    #8  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @all
Thanks for the suggestions.. I have installed clib and made the changes to makefile as below. And I have cloned the Github repo from stratch.
I guess it is better to solve problems one by one. Please see the first error below (apologies if solution is offered before)
I have ported several SDL2 projects before and uploaded to OS4Depot.net, but this is a big project for me..I hope we can make it with community's support.
TARGET          =  vanillatd
 =  vanillara
 =  04 - 07 - 22
 =  1.0R1
 =  ppc - amigaos - g ++
 CXXFLAGS      = - 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__ = \ "$(VERSION)\"   - D__AMIGADATE__ = \ "$(AMIGADATE)\"
 CXXFLAGS     += - 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 ./
 CXXLIBS         = - L / usr / local / amiga / ppc - amigaos / SDK / Local / lib  - lopenal  - lSDL2  - lm  - lc  - lpthread
 =  ppc - amigaos - strip
 =  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 / tcpip . o common / tcpip_null . o common / unvqbuff . o common / vqaconfig . o common / vqadrawer . o common / vqaloader . o common / vqapalette . o common / vqatask . o common / vqaver . o  common / wwmouse . o common / soundio_openal . o common / vqaaudio_openal . o common / video_sdl . o
 =  tiberiandawn / aadata . o \
 /abstract. o \
 / adata . o \
 / aircraft . o \
 / anim . o \
 / audio . o \
 / base . o \
 / bbdata . o \
 / bdata . o \
 / building . o \
 / bullet . o \
 / cargo . o \
 / ccini . o \
 / cdata . o \
 / cell . o \
 / checkbox . o \
 / cheklist . o \
 / colrlist . o \
 / combat . o \
 / confdlg . o \
 / conquer . o \
 /const. o \
 / coord . o \
 / credits . o \
 / debug . o \
 / dial8 . o \
 / dialog . o \
 / display . o \
 / door . o \
 / drive . o \
 / drop . o \
 / edit . o \
 / ending . o \
 / event . o \
 / expand . o \
 / facing . o \
 / factory . o \
 / findpath . o \
 / flasher . o \
 / fly . o \
 / foot . o \
 / fuse . o \
 / gamedlg . o \
 / gauge . o \
 / globals . o \
 / goptions . o \
 / gscreen . o \
 / hdata . o \
 / heap . o \
 / help . o \
 / house . o \
 / iconset . o \
 / idata . o \
 / infantry . o \
 / init . o \
 / intro . o \
 / iomap . o \
 / ioobj . o \
 / ipx . o \
 / ipx95 . o \
 / ipxconn . o \
 / ipxgconn . o \
 / ipxmgr . o \
 / jshell . o \
 / layer . o \
 / lib . o \
 /list. o \
 / loaddlg . o \
 / logic . o \
 / map . o \
 / mapeddlg . o \
 / mapedit . o \
 / mapedplc . o \
 / mapedsel . o \
 / mapedtm . o \
 / mapsel . o \
 / menus . o \
 / miscasm . o \
 / mission . o \
 / monoc . o \
 / mouse . o \
 / mplayer . o \
 / msgbox . o \
 / msglist . o \
 / netdlg . o \
 / noseqcon . o \
 / nulldlg . o \
 / object . o \
 / odata . o \
 / options . o \
 / overlay . o \
 / power . o \
 / profile . o \
 / queue . o \
 / radar . o \
 / radio . o \
 / reinf . o \
 / rules . o \
 / saveload . o \
 / scenario . o \
 / scenarioini . o \
 / score . o \
 / scroll . o \
 / sdata . o \
 / shapebtn . o \
 / sidebar . o \
 / slider . o \
 / smudge . o \
 / sounddlg . o \
 / special . o \
 / startup . o \
 / stats . o \
 / super . o \
 / tab . o \
 / tarcom . o \
 / target . o \
 / tdata . o \
 / team . o \
 / teamtype . o \
 / techno . o \
 / template . o \
 / terrain . o \
 / textbtn . o \
 / theme . o \
 / trigger . o \
 / turret . o \
 / txtlabel . o \
 / udata . o \
 / unit . o \
 / visudlg . o \
 / winstub . o 
 =  \
 / aadata . o \
 /abstract. o \
 / adata . o \
 / aircraft . o \
 / anim . o \
 / audio . o \
 / bar . o \
 / base . o \
 / bbdata . o \
 / bdata . o \
 / bench . o \
 / bigcheck . o \
 / building . o \
 / bullet . o \
 / cargo . o \
 / carry . o \
 / ccini . o \
 / ccptr . o \
 / cdata . o \
 / cell . o \
 / checkbox . o \
 / cheklist . o \
 / colrlist . o \
 / combat . o \
 / confdlg . o \
 / conquer . o \
 /const. o \
 / coord . o \
 / crate . o \
 / credits . o \
 / debug . o \
 / dial8 . o \
 / dialog . o \
 / dibfile . o \
 / dibutil . o \
 / display . o \
 / door . o \
 / drive . o \
 / drop . o \
 / edit . o \
 / egos . o \
 / ending . o \
 / event . o \
 / expand . o \
 / face . o \
 / facing . o \
 / factory . o \
 / findpath . o \
 / flasher . o \
 / fly . o \
 / foot . o \
 / fuse . o \
 / gamedlg . o \
 / gauge . o \
 / globals . o \
 / goptions . o \
 / gscreen . o \
 / hdata . o \
 / heap . o \
 / help . o \
 / house . o \
 / iconlist . o \
 / iconset . o \
 / idata . o \
 / infantry . o \
 / init . o \
 / intro . o \
 / iomap . o \
 / ioobj . o \
 / ipx . o \
 / ipx95 . o \
 / ipxconn . o \
 / ipxgconn . o \
 / ipxmgr . o \
 / jshell . o \
 / layer . o \
 /list. o \
 / loaddlg . o \
 / logic . o \
 / map . o \
 / mapeddlg . o \
 / mapedit . o \
 / mapedplc . o \
 / mapedsel . o \
 / mapedtm . o \
 / mapsel . o \
 / menus . o \
 / miscasm . o \
 / mission . o \
 / monoc . o \
 / mouse . o \
 / mplayer . o \
 / msgbox . o \
 / msglist . o \
 / netdlg . o \
 / nulldlg . o \
 / object . o \
 / odata . o \
 / options . o \
 / overlay . o \
 / power . o \
 / profile . o \
 / queue . o \
 / radar . o \
 / radio . o \
 / rawolapi . o \
 / reinf . o \
 / rules . o \
 / saveload . o \
 / scenario . o \
 / score . o \
 / scroll . o \
 / sdata . o \
 / seditdlg . o \
 / sendfile . o \
 / session . o \
 / shapebtn . o \
 / sidebar . o \
 / slider . o \
 / smudge . o \
 / sounddlg . o \
 / special . o \
 / startup . o \
 / statbtn . o \
 / stats . o \
 / super . o \
 / tab . o \
 / taction . o \
 / target . o \
 / tdata . o \
 / team . o \
 / teamtype . o \
 / techno . o \
 / template . o \
 / terrain . o \
 / tevent . o \
 / textbtn . o \
 / theme . o \
 / tooltip . o \
 / tracker . o \
 / trigger . o \
 / trigtype . o \
 / txtlabel . o \
 / udata . o \
 / unit . o \
 / vdata . o \
 / version . o \
 / vessel . o \
 / visudlg . o \
 / vortex . o \
 / warhead . o \
 / weapon . o \
 / winstub . o \
 / wol_cgam . o \
 / wol_chat . o \
 / wol_dnld . o \
 / wol_gsup . o \
 / wol_logn . o \
 / wol_main . o \
 / wol_opt . o \
 / wolapiob . o \
 / woledit . o \
 / wolstrng . o
 = $( OBJS_COMMON ) $( OBJS_TIBDAWN )
 OBJS2  = $( OBJS_COMMON ) $( OBJS_REDALERT )
 all : $( TARGET )
 TARGET ): $( OBJS1 )
 CXX ) $( CXXFLAGS ) - o  $@ $^ $( CXXLIBS )
 STRIP ) -- strip - all  $( TARGET ) - o  $( TARGET ). strip
 $( TARGET2 ): $( OBJS2 )
 CXX ) $( CXXFLAGS ) - o  $@ $^ $( CXXLIBS )
 STRIP ) -- strip - all  $( TARGET2 ) - o  $( TARGET2 ). strip
 :
 rm  - f  $( OBJS_COMMON ) $( OBJS_TIBDAWN )
 rm  - f  $( TARGET ) $( TARGET ). s  $( TARGET ). strip
 - f  $( TARGET2 ) $( TARGET2 ). s  $( TARGET2 ). strip
 :
 ppc - amigaos - objdump  -- disassemble - all  -- reloc  $( TARGET ) >$( TARGET ). s 
 
common / ccfile . cpp : 300 : 42 :    required from here
 / mixfile . h : 756 : 11 :  error :  ‘strupr’ was not declared in this scope ;  did you mean ‘strstr’ ?
 756  |      strupr ( filename_upper );
 strstr
 / mixfile . h : 757 : 45 :  warning :  ‘strupr’ was not declared in this scope , and  no declarations were found by argument - dependent lookup at the point of instantiation  [- fpermissive ]
 757  |      int32_t crc  =  Calculate_CRC < TCRC >( strupr ( filename_upper ),  int ( strlen ( filename_upper )));
 make : *** [< builtin >:  common / ccfile . o ]  Error 1 
 
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/6 12:48 
                                  
                                    #9  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        It seems I can solve this error
                        
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/6 12:52 
                                  
                                    #10  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        It seems I can solve this error
                        
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/6 22:51 
                                  
                                    #11  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @all 
I noticed if I try to compile original fork at
https://github.com/TheAssemblyArmada/Vanilla-Conquer I can compile all .o files,
However since I use -clib2, I can't link SDL2 and OPEENAL
Is there a way to do this ?
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  - o vanillatd  - L / usr / local / amiga / ppc - amigaos / SDK / Local / newlib / lib / libopenal . a  - L / usr / local / amiga / ppc - amigaos / SDK / Local / newlib / lib / libSDL2 . a  - lm  - lc  - lpthread  - lz
 / vqaver . o :  In  function ` _Z18VQA_DateTimeStringv':
 ` GitCommitDate '
 common / vqaver . o :  In  function ` _Z12VQA_IDStringv':
 ` GitCommitDate '
 common / wwkeyboard . o :  In  function ` _ZN15WWKeyboardClass8To_ASCIIEt':
 ` SDL_GetModState '
 :
 wwkeyboard . cpp :(. text + 0xddc ):  undefined reference to  ` SDL_GameControllerFromInstanceID'
 ` SDL_GameControllerClose '
 wwkeyboard . cpp :(. text + 0xe94 ):  undefined reference to  ` SDL_PollEvent'
 ` _ZN15WWKeyboardClass15Open_ControllerEv ':
 wwkeyboard . cpp :(. text + 0xf70 ):  undefined reference to  ` SDL_GameControllerOpen'
 ` SDL_NumJoysticks '
 :
 wwkeyboard . cpp :(. text + 0xffc ):  undefined reference to  ` SDL_GameControllerGetAttached'
 ` SDL_GameControllerClose '
 :
 wwkeyboard . cpp :(. text + 0x1068 ):  undefined reference to  ` SDL_GetTicks'
 ` _Z20Maintenance_Callbackv ':
 soundio_openal . cpp :(. text + 0x1618 ):  undefined reference to  ` alSourceUnqueueBuffers'
 ` alBufferData '
 soundio_openal . cpp :(. text + 0x16ac ):  undefined reference to  ` alGetSourcei'
 ` alSourcef '
 common / soundio_openal . o :  In  function ` _Z10Audio_Initibib':
 ` alcOpenDevice '
 soundio_openal . cpp :(. text + 0x1dac ):  undefined reference to  ` alcMakeContextCurrent'
 ` alcCloseDevice '
 soundio_openal . cpp :(. text + 0x1e9c ):  undefined reference to  ` alGenSources'
 ` alGetError '
 :
 soundio_openal . cpp :(. text + 0x1fc0 ):  undefined reference to  ` alDeleteSources'
 ` alcGetContextsDevice '
 soundio_openal . cpp :(. text + 0x2034 ):  undefined reference to  ` alcDestroyContext'
 ` alcCloseDevice '
 :
 soundio_openal . cpp :(. text + 0x21b0 ):  undefined reference to  ` alSourceStop'
 ` alGetSourcei '
 soundio_openal . cpp :(. text + 0x2228 ):  undefined reference to  ` alDeleteBuffers'
 ` _Z13Sample_Statusi ':
 common / soundio_openal . o :  In  function ` _Z22Attempt_To_Play_Bufferi':
 ` alSourcePlay '
 :
 soundio_openal . cpp :(. text + 0x297c ):  undefined reference to  ` alGetSourcei'
 ` alSourceStop '
 soundio_openal . cpp :(. text + 0x2a00 ):  undefined reference to  ` alSourceUnqueueBuffers'
 ` alDeleteBuffers '
 soundio_openal . cpp :(. text + 0x2b0c ):  undefined reference to  ` alBufferData'
 ` alSourceQueueBuffers '
 common / soundio_openal . o :  In  function ` _Z13Set_Score_Voli':
 ` alSourcef '
 :
 soundio_openal . cpp :(. text + 0x3288 ):  undefined reference to  ` alcProcessContext'
 ` _Z25Stop_Primary_Sound_Bufferv ':
 common / vqaaudio_openal . o :  In  function ` _Z11Queue_Audioj':
 ` alIsSource '
 vqaaudio_openal . cpp :(. text + 0x268 ):  undefined reference to  ` alSourceQueueBuffers'
 ` _Z17VQA_AudioCallbackv ':
 vqaaudio_openal . cpp :(. text + 0x4cc ):  undefined reference to  ` alGetSourcei'
 ` alSourceUnqueueBuffers '
 :
 vqaaudio_openal . cpp :(. text + 0x8c0 ):  undefined reference to  ` alIsSource'
 ` alGetSourcei '
 vqaaudio_openal . cpp :(. text + 0x92c ):  undefined reference to  ` alSourceUnqueueBuffers'
 ` alDeleteSources '
 vqaaudio_openal . cpp :(. text + 0x980 ):  undefined reference to  ` alGenBuffers'
 ` alGenSources '
 vqaaudio_openal . cpp :(. text + 0xa6c ):  undefined reference to  ` alSourcePlay'
 ` _Z13VQA_StopAudioP10_VQAHandle ':
 vqaaudio_openal . cpp :(. text + 0xb58 ):  undefined reference to  ` alGetSourcei'
 ` alSourceStop '
 vqaaudio_openal . cpp :(. text + 0xbb4 ):  undefined reference to  ` alDeleteSources'
 ` alDeleteBuffers '
 :
 vqaaudio_openal . cpp :(. text + 0xc6c ):  undefined reference to  ` alIsSource'
 ` alSourcePause '
 :
 vqaaudio_openal . cpp :(. text + 0xd3c ):  undefined reference to  ` alIsSource'
 ` alSourcePlay '
 :
 video_sdl2 . cpp :(. text + 0xc34 ):  undefined reference to  ` SDL_GetRendererOutputSize'
 ` _Z14Set_Video_Modeiii ':
 video_sdl2 . cpp :(. text + 0x11ac ):  undefined reference to  ` SDL_ShowCursor'
 ` SDL_CreateWindow '
 video_sdl2 . cpp :(. text + 0x13d0 ):  undefined reference to  ` SDL_GetRenderDriverInfo'
 ` SDL_GetNumRenderDrivers '
 video_sdl2 . cpp :(. text + 0x14ac ):  undefined reference to  ` SDL_GetRendererInfo'
 ` SDL_SetHintWithPriority '
 video_sdl2 . cpp :(. text + 0x168c ):  undefined reference to  ` SDL_Init'
 ` _Z23Toggle_Video_Fullscreenv ':
 video_sdl2 . cpp :(. text + 0x177c ):  undefined reference to  ` SDL_SetWindowSize'
 ` SDL_SetWindowFullscreen '
 video_sdl2 . cpp :(. text + 0x17d8 ):  undefined reference to  ` SDL_SetWindowSize'
 ` _Z21Set_Video_Cursor_Clipb ':
 video_sdl2 . cpp :(. text + 0x191c ):  undefined reference to  ` SDL_SetRelativeMouseMode'
 ` SDL_GetMouseState '
 video_sdl2 . cpp :(. text + 0x1a6c ):  undefined reference to  ` SDL_SetWindowGrab'
 ` SDL_SetRelativeMouseMode '
 :
 video_sdl2 . cpp :(. text + 0x1e9c ):  undefined reference to  ` SDL_GetMouseState'
 ` _Z16Reset_Video_Modev ':
 video_sdl2 . cpp :(. text + 0x1fbc ):  undefined reference to  ` SDL_FreeCursor'
 ` SDL_FreeSurface '
 video_sdl2 . cpp :(. text + 0x2030 ):  undefined reference to  ` SDL_FreePalette'
 ` SDL_DestroyWindow '
 :
 video_sdl2 . cpp :(. text + 0x21f8 ):  undefined reference to  ` SDL_FreeSurface'
 ` SDL_CreateRGBSurfaceWithFormat '
 video_sdl2 . cpp :(. text + 0x22b8 ):  undefined reference to  ` SDL_SetSurfacePalette'
 ` SDL_SetColorKey '
 video_sdl2 . cpp :(. text + 0x2514 ):  undefined reference to  ` SDL_CreateColorCursor'
 ` _Z14Set_DD_PalettePv ':
 common / video_sdl2 . o :  In  function ` _ZN16VideoSurfaceSDL2C2Eii8GBC_Enum':
 ` SDL_CreateRGBSurface '
 video_sdl2 . cpp :(. text . _ZN16VideoSurfaceSDL2C2Eii8GBC_Enum [ _ZN16VideoSurfaceSDL2C5Eii8GBC_Enum ]+ 0x1cc ):  undefined reference to  ` SDL_CreateRGBSurfaceWithFormat'
 ` SDL_CreateTexture '
 :
 video_sdl2 . cpp :(. text . _ZN16VideoSurfaceSDL2D2Ev [ _ZN16VideoSurfaceSDL2D5Ev ]+ 0x80 ):  undefined reference to  ` SDL_FreeSurface'
 ` SDL_DestroyTexture '
 common / video_sdl2 . o :  In  function ` _ZN16VideoSurfaceSDL28LockWaitEv':
 ` SDL_LockSurface '
 :
 video_sdl2 . cpp :(. text . _ZN16VideoSurfaceSDL26UnlockEv [ _ZN16VideoSurfaceSDL26UnlockEv ]+ 0x24 ):  undefined reference to  ` SDL_UnlockSurface'
 ` _ZN16VideoSurfaceSDL23BltERK4RectP12VideoSurfaceS2_b ':
 common / video_sdl2 . o :  In  function ` _ZN16VideoSurfaceSDL28FillRectERK4Recth':
 ` SDL_FillRect '
 :
 video_sdl2 . cpp :(. text . _ZN16VideoSurfaceSDL213RenderSurfaceEv [ _ZN16VideoSurfaceSDL213RenderSurfaceEv ]+ 0x38 ):  undefined reference to  ` SDL_UpperBlit'
 ` SDL_SetCursor '
 video_sdl2 . cpp :(. text . _ZN16VideoSurfaceSDL213RenderSurfaceEv [ _ZN16VideoSurfaceSDL213RenderSurfaceEv ]+ 0xe0 ):  undefined reference to  ` SDL_ShowCursor'
 ` SDL_UpperBlit '
 video_sdl2 . cpp :(. text . _ZN16VideoSurfaceSDL213RenderSurfaceEv [ _ZN16VideoSurfaceSDL213RenderSurfaceEv ]+ 0x1f8 ):  undefined reference to  ` SDL_RenderClear'
 ` SDL_RenderCopy '
 tiberiandawn / init . o :  In  function ` _Z14Version_Numberv':
 ` GitTag '
 init . cpp :(. text + 0x44d2 ):  undefined reference to  ` GitUncommittedChanges'
 ` GitUncommittedChanges '
 init . cpp :(. text + 0x44e6 ):  undefined reference to  ` GitTag'
 ` GitRevision '
 init . cpp :(. text + 0x4502 ):  undefined reference to  ` GitUncommittedChanges'
 ` GitUncommittedChanges '
 init . cpp :(. text + 0x452a ):  undefined reference to  ` GitShortSHA1'
 ` GitUncommittedChanges '
 init . cpp :(. text + 0x457a ):  undefined reference to  ` GitShortSHA1'
 ` GitShortSHA1 '
 init . cpp :(. text + 0x458a ):  undefined reference to  ` GitTag'
 ` _ZN15IPXManagerClass7ServiceEv ':
 ipxmgr . cpp :(. text + 0x19f6 ):  undefined reference to  ` Winsock'
 ` Winsock '
 ipxmgr . cpp :(. text + 0x1c32 ):  undefined reference to  ` Winsock'
 ` Winsock ' follow
 
 
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/7 0:54 
                                  
                                    #12  
     
    
                
                             Quite a regular
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Gravity well
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        Did you try moving the sdl2 link library before its dependencies? At least when I did these the linker never figured it out on its own.
                        
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/7 6:32 
                                  
                                    #13  
     
    
                
                             Quite a regular
                         
                    
                        Joined: Last Login
                                : 
                                                    From  UK
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        Hi, I don't get why you are using
- L / usr / local / amiga / ppc - amigaos / SDK / Local / newlib / lib / libopenal . a 
 
Shouldn't this instead be
- L / usr / local / amiga / ppc - amigaos / SDK / Local / newlib / lib / - lopenal 
 
I think that .a files are taken in preference too, so you don't need
-static  
But I like to have that too if I can.
I would have also expected
- L / usr / local / amiga / ppc - amigaos / SDK / Local / newlib / lib / libSDL2 . a 
 
To be
- L / usr / local / amiga / ppc - amigaos / SDK / Local / newlib / lib / - lsdl2 
 
I may very well be missing something here!
Both those sdl2 and openal are statically built, so it should not be a problem that they were compiled with newlib...?
            
                                    
 
     
    
                
                                
                If liberty means anything at all, it means the right to tell people what they do not want to hear. 
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/7 6:55 
                                  
                                    #14  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Russia
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        -L newlib shouldn't be used too. Things should be point out on clib2 ones directly
                        
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/7 8:20 
                                  
                                    #15  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @kas1e
                        
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/7 8:29 
                                  
                                    #16  
     
    
                
                             Just popping in
                         
                    
                        Joined: Last Login
                                : 
                                                    From  FRANCE
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        You can solve your Git undefined reference
to add gitinfo.cpp
https://github.com/TheAssemblyArmada/V ... lla/common/gitinfo.cpp.in 
// TiberianDawn.DLL and RedAlert.dll and corresponding source code is free
https://github.com/electronicarts/CnC_Remastered_Collection 
 const  char GitSHA1 [] =  "" ;
 char GitShortSHA1 [] =  "" ;
 char GitCommitDate [] =  "" ;
 char GitCommitAuthorName [] =  "" ;
 char GitTag [] =  "" ;
 time_t GitCommitTimeStamp  =  0 ;
 bool GitUncommittedChanges  =  false ;
 bool GitHaveInfo  =  false ;
 int GitRevision  =  0 ;  
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/7 8:43 
                                  
                                    #17  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Russia
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
Quote:
You need to compile clib2 version of SDL2 yourself. Just be sure you installed latest afxgroup's clib2 , then download SDL2 from this place:
https://github.com/AmigaPorts/SDL-2.0/commits/main Then add to Makefile.amigaos4 to CFLAGS add -mcrt=clib2, and "make -f Makefile.amigaos4" to compile it. 
Once done, copy clib2 version of libSDL2.a to SDK/local/clib2/lib/
Same do for OpenAL : download it from Salas00's repo:
https://github.com/salass00/openal_lib Then in openal-soft-1.20.1/makefile.amigaos4 add -mcrt=clib2, compile, and copy the same to SDK/local/clib2/lib ready libopenall.a
Then on linking stage of C&C be 100% sure you linked against those 2 ones, and not to the other ones.
There can be then some undefined references, because if may needs other clib2 libs which sdl2/openl use, like some mixer/image libs, but they on os4depot, and most of them already have clib2 versions.
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/7 11:12 
                                  
                                    #18  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @kas1e
                        
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/7 11:35 
                                  
                                    #19  
     
    
                
                             Quite a regular
                         
                    
                        Joined: Last Login
                                : 
                                                    From  UK
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @kas1e
                        
            
                                            
                
                
                    Edited by rjd324 on 2022/7/7 11:57:12
                      
     
    
                
                                
                If liberty means anything at all, it means the right to tell people what they do not want to hear. 
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Project : Compiling Vanilla-Conquer (C&C) for AmigaOS4 - Help needed
         
        
            
                                    Posted on: 
2022/7/7 11:36 
                                  
                                    #20  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @all @beworld
Thanks for all your help.. 
A few minutes I was able to compile vanillatd executable for AmigaOS4.
I made no changes to any source code at @
https://github.com/TheAssemblyArmada/Vanilla-Conquer I just removed some .o files related to Winsock e.t.c,
I guess these sources have Big Endian problems solved ?
This the current makefile at the moment ? Does anyone see potential errors ?
TARGET          =  vanillatd
 =  vanillara
 =  04 - 07 - 22
 =  1.0R1
 =  ppc - amigaos - g ++
 CXXFLAGS      = - 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__ = \ "$(VERSION)\"   - D__AMIGADATE__ = \ "$(AMIGADATE)\"
 CXXFLAGS     += - 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 ./
 CXXLIBS         = - L / usr / local / amiga / ppc - amigaos / SDK / Local / clib2 / lib / - lopenal  - L / usr / local / amiga / ppc - amigaos / SDK / Local / clib2 / lib / - lSDL2  - lm  - lc  - lpthread 
 =  ppc - amigaos - strip
 =  common / gitinfo . o 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 \
 /abstract. o \
 / adata . o \
 / aircraft . o \
 / anim . o \
 / audio . o \
 / base . o \
 / bbdata . o \
 / bdata . o \
 / building . o \
 / bullet . o \
 / cargo . o \
 / ccini . o \
 / cdata . o \
 / cell . o \
 / checkbox . o \
 / cheklist . o \
 / colrlist . o \
 / combat . o \
 / confdlg . o \
 / conquer . o \
 /const. o \
 / coord . o \
 / credits . o \
 / debug . o \
 / dial8 . o \
 / dialog . o \
 / display . o \
 / door . o \
 / drive . o \
 / drop . o \
 / edit . o \
 / ending . o \
 / event . o \
 / expand . o \
 / facing . o \
 / factory . o \
 / findpath . o \
 / flasher . o \
 / fly . o \
 / foot . o \
 / fuse . o \
 / gamedlg . o \
 / gauge . o \
 / globals . o \
 / goptions . o \
 / gscreen . o \
 / hdata . o \
 / heap . o \
 / help . o \
 / house . o \
 / iconset . o \
 / idata . o \
 / infantry . o \
 / init . o \
 / intro . o \
 / iomap . o \
 / ioobj . o \
 / ipxconn . o \
 / ipxgconn . o \
 / jshell . o \
 / layer . o \
 / lib . o \
 /list. o \
 / loaddlg . o \
 / logic . o \
 / map . o \
 / mapeddlg . o \
 / mapedit . o \
 / mapedplc . o \
 / mapedsel . o \
 / mapedtm . o \
 / mapsel . o \
 / menus . o \
 / miscasm . o \
 / mission . o \
 / monoc . o \
 / mouse . o \
 / mplayer . o \
 / msgbox . o \
 / msglist . o \
 / nulldlg . o \
 / object . o \
 / odata . o \
 / options . o \
 / overlay . o \
 / power . o \
 / profile . o \
 / queue . o \
 / radar . o \
 / radio . o \
 / reinf . o \
 / rules . o \
 / saveload . o \
 / scenario . o \
 / scenarioini . o \
 / score . o \
 / scroll . o \
 / sdata . o \
 / shapebtn . o \
 / sidebar . o \
 / slider . o \
 / smudge . o \
 / sounddlg . o \
 / special . o \
 / startup . o \
 / stats . o \
 / super . o \
 / tab . o \
 / tarcom . o \
 / target . o \
 / tdata . o \
 / team . o \
 / teamtype . o \
 / techno . o \
 / template . o \
 / terrain . o \
 / textbtn . o \
 / theme . o \
 / trigger . o \
 / turret . o \
 / txtlabel . o \
 / udata . o \
 / unit . o \
 / visudlg . o \
 / winstub . o 
 =  \
 / aadata . o \
 /abstract. o \
 / adata . o \
 / aircraft . o \
 / anim . o \
 / audio . o \
 / bar . o \
 / base . o \
 / bbdata . o \
 / bdata . o \
 / bench . o \
 / bigcheck . o \
 / building . o \
 / bullet . o \
 / cargo . o \
 / carry . o \
 / ccini . o \
 / ccptr . o \
 / cdata . o \
 / cell . o \
 / checkbox . o \
 / cheklist . o \
 / colrlist . o \
 / combat . o \
 / confdlg . o \
 / conquer . o \
 /const. o \
 / coord . o \
 / crate . o \
 / credits . o \
 / debug . o \
 / dial8 . o \
 / dialog . o \
 / dibfile . o \
 / dibutil . o \
 / display . o \
 / door . o \
 / drive . o \
 / drop . o \
 / edit . o \
 / egos . o \
 / ending . o \
 / event . o \
 / expand . o \
 / face . o \
 / facing . o \
 / factory . o \
 / findpath . o \
 / flasher . o \
 / fly . o \
 / foot . o \
 / fuse . o \
 / gamedlg . o \
 / gauge . o \
 / globals . o \
 / goptions . o \
 / gscreen . o \
 / hdata . o \
 / heap . o \
 / help . o \
 / house . o \
 / iconlist . o \
 / iconset . o \
 / idata . o \
 / infantry . o \
 / init . o \
 / intro . o \
 / iomap . o \
 / ioobj . o \
 / ipx . o \
 / ipx95 . o \
 / ipxconn . o \
 / ipxgconn . o \
 / ipxmgr . o \
 / jshell . o \
 / layer . o \
 /list. o \
 / loaddlg . o \
 / logic . o \
 / map . o \
 / mapeddlg . o \
 / mapedit . o \
 / mapedplc . o \
 / mapedsel . o \
 / mapedtm . o \
 / mapsel . o \
 / menus . o \
 / miscasm . o \
 / mission . o \
 / monoc . o \
 / mouse . o \
 / mplayer . o \
 / msgbox . o \
 / msglist . o \
 / netdlg . o \
 / nulldlg . o \
 / object . o \
 / odata . o \
 / options . o \
 / overlay . o \
 / power . o \
 / profile . o \
 / queue . o \
 / radar . o \
 / radio . o \
 / rawolapi . o \
 / reinf . o \
 / rules . o \
 / saveload . o \
 / scenario . o \
 / score . o \
 / scroll . o \
 / sdata . o \
 / seditdlg . o \
 / sendfile . o \
 / session . o \
 / shapebtn . o \
 / sidebar . o \
 / slider . o \
 / smudge . o \
 / sounddlg . o \
 / special . o \
 / startup . o \
 / statbtn . o \
 / stats . o \
 / super . o \
 / tab . o \
 / taction . o \
 / target . o \
 / tdata . o \
 / team . o \
 / teamtype . o \
 / techno . o \
 / template . o \
 / terrain . o \
 / tevent . o \
 / textbtn . o \
 / theme . o \
 / tooltip . o \
 / tracker . o \
 / trigger . o \
 / trigtype . o \
 / txtlabel . o \
 / udata . o \
 / unit . o \
 / vdata . o \
 / version . o \
 / vessel . o \
 / visudlg . o \
 / vortex . o \
 / warhead . o \
 / weapon . o \
 / winstub . o \
 / wol_cgam . o \
 / wol_chat . o \
 / wol_dnld . o \
 / wol_gsup . o \
 / wol_logn . o \
 / wol_main . o \
 / wol_opt . o \
 / wolapiob . o \
 / woledit . o \
 / wolstrng . o
 = $( OBJS_COMMON ) $( OBJS_TIBDAWN )
 OBJS2  = $( OBJS_COMMON ) $( OBJS_REDALERT )
 all : $( TARGET )
 TARGET ): $( OBJS1 )
 CXX ) $( CXXFLAGS ) - o  $@ $^ - o  $( TARGET ) $( CXXLIBS ) 
 TARGET2 ): $( OBJS2 )
 CXX ) $( CXXFLAGS ) - o  $@ $^ $( CXXLIBS )
 STRIP ) -- strip - all  $( TARGET2 ) - o  $( TARGET2 ). strip
 :
 rm  - f  $( OBJS_COMMON ) $( OBJS_TIBDAWN )
 rm  - f  $( TARGET ) $( TARGET ). s  $( TARGET ). strip
 - f  $( TARGET2 ) $( TARGET2 ). s  $( TARGET2 ). strip
 :
 ppc - amigaos - objdump  -- disassemble - all  -- reloc  $( TARGET ) >$( TARGET ). s 
 
Currently I am at work (compiling Amiga stuff at the background :) ..I will check if this works on a real AmigaOS4 machine later.
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
    
  
    
      Currently Active Users Viewing This Thread:
      1
      (
        0 members
                  and 1 Anonymous Users
              )