Welcome, Guest. Please login or register.

Author Topic: Native 68k Netsurf  (Read 52786 times)

Description:

0 Members and 4 Guests are viewing this topic.

Offline wawrzon

Re: Native 68k Netsurf
« Reply #14 on: March 09, 2011, 10:22:48 PM »
Quote

Post them here.

there are so many, i have to make up my mind where to start. is there any way to dump the make log to a file? im not accustomed to shell, i am using devcpp interface for most of the time.

2.7 r11956 downloaded, it had some errors unpacking, nothing essential i think. lets see.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #15 on: March 09, 2011, 10:29:26 PM »
dont hold your breath.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #16 on: March 09, 2011, 11:16:29 PM »
i have actually 3.4.0 (of zerohero i think) that came originally with amidevcpp as well as 4.5.0 compiled by bernd rosch. there is also some in between versions but ihave not been using any of them. depending on source it might be neccessary to switch, since 4.5.0 is gennerally less forgiving especially for obsolete code. though i think for a project under steady development an up to date compiler should be fine. therefore im using 4.5.0 for now.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #17 on: March 09, 2011, 11:25:37 PM »
here is where i first run into problems
Quote

COMPILE: render/hubbub_binding.c
render/hubbub_binding.c:40:2: error: expected specifier-qualifier-list before ‘h
tmlDocPtr’
render/hubbub_binding.c: In function ‘binding_create_tree’:
render/hubbub_binding.c:147:3: error: ‘hubbub_ctx’ has no member named ‘encoding

render/hubbub_binding.c:148:3: error: ‘hubbub_ctx’ has no member named ‘encoding
_source’
render/hubbub_binding.c:150:3: error: ‘hubbub_ctx’ has no member named ‘document

render/hubbub_binding.c:151:3: error: ‘hubbub_ctx’ has no member named ‘owns_doc

render/hubbub_binding.c:152:3: error: ‘hubbub_ctx’ has no member named ‘quirks’
render/hubbub_binding.c:153:3: error: ‘hubbub_ctx’ has no member named ‘forms’
render/hubbub_binding.c:165:3: error: ‘hubbub_ctx’ has no member named ‘document

render/hubbub_binding.c:166:7: error: ‘hubbub_ctx’ has no member named ‘document

render/hubbub_binding.c:171:3: error: ‘hubbub_ctx’ has no member named ‘document

render/hubbub_binding.c:173:26: error: ‘hubbub_ctx’ has no member named ‘namespa
ces’
render/hubbub_binding.c:173:50: error: ‘hubbub_ctx’ has no member named ‘namespa
ces’
render/hubbub_binding.c:174:4: error: ‘hubbub_ctx’ has no member named ‘namespac
es’
render/hubbub_binding.c:177:3: error: ‘hubbub_ctx’ has no member named ‘tree_han
dler’
render/hubbub_binding.c:178:3: error: ‘hubbub_ctx’ has no member named ‘tree_han
dler’
render/hubbub_binding.c:180:26: error: ‘hubbub_ctx’ has no member named ‘tree_ha
ndler’
render/hubbub_binding.c:183:15: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c:184:26: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c: In function ‘binding_destroy_tree’:
render/hubbub_binding.c:202:7: error: ‘hubbub_ctx’ has no member named ‘owns_doc

render/hubbub_binding.c:203:15: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c:206:3: error: ‘hubbub_ctx’ has no member named ‘encoding

render/hubbub_binding.c:207:3: error: ‘hubbub_ctx’ has no member named ‘document

render/hubbub_binding.c: In function ‘binding_get_encoding’:
render/hubbub_binding.c:240:13: error: ‘hubbub_ctx’ has no member named ‘encodin
g_source’
render/hubbub_binding.c:242:10: error: ‘hubbub_ctx’ has no member named ‘encodin
g’
render/hubbub_binding.c:242:32: error: ‘hubbub_ctx’ has no member named ‘encodin
g’
render/hubbub_binding.c: In function ‘binding_get_document’:
render/hubbub_binding.c:248:19: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c:250:3: error: ‘hubbub_ctx’ has no member named ‘owns_doc

render/hubbub_binding.c:252:13: error: ‘hubbub_ctx’ has no member named ‘quirks’

render/hubbub_binding.c: In function ‘binding_get_forms’:
render/hubbub_binding.c:261:10: error: ‘hubbub_ctx’ has no member named ‘forms’
render/hubbub_binding.c: In function ‘binding_get_control_for_node’:
render/hubbub_binding.c:270:12: error: ‘hubbub_ctx’ has no member named ‘forms’
render/hubbub_binding.c: In function ‘create_namespaces’:
render/hubbub_binding.c:305:6: error: ‘hubbub_ctx’ has no member named ‘namespac
es’
render/hubbub_binding.c:309:10: error: ‘hubbub_ctx’ has no member named ‘namespa
ces’
render/hubbub_binding.c: In function ‘create_comment’:
render/hubbub_binding.c:326:24: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c: In function ‘create_doctype’:
render/hubbub_binding.c:368:17: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c: In function ‘create_element’:
render/hubbub_binding.c:398:7: error: ‘hubbub_ctx’ has no member named ‘namespac
es’
render/hubbub_binding.c:399:22: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c:399:35: error: ‘hubbub_ctx’ has no member named ‘namespa
ces’
render/hubbub_binding.c:402:22: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c:406:21: error: ‘hubbub_ctx’ has no member named ‘namespa
ces’
render/hubbub_binding.c:409:17: error: ‘hubbub_ctx’ has no member named ‘namespa
ces’
render/hubbub_binding.c:426:46: error: ‘hubbub_ctx’ has no member named ‘encodin
g’
render/hubbub_binding.c:436:17: error: ‘hubbub_ctx’ has no member named ‘forms’
render/hubbub_binding.c:437:4: error: ‘hubbub_ctx’ has no member named ‘forms’
render/hubbub_binding.c: In function ‘create_text’:
render/hubbub_binding.c:452:24: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c: In function ‘ref_node’:
render/hubbub_binding.c:467:15: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c: In function ‘unref_node’:
render/hubbub_binding.c:486:15: error: ‘hubbub_ctx’ has no member named ‘documen
t’
render/hubbub_binding.c: In function ‘form_associate’:
render/hubbub_binding.c:659:12: error: ‘hubbub_ctx’ has no member named ‘forms’
render/hubbub_binding.c: In function ‘add_attributes’:
render/hubbub_binding.c:730:6: error: ‘hubbub_ctx’ has no member named ‘namespac
es’
render/hubbub_binding.c:732:7: error: ‘hubbub_ctx’ has no member named ‘namespac
es’
render/hubbub_binding.c: In function ‘set_quirks_mode’:
render/hubbub_binding.c:756:4: error: ‘hubbub_ctx’ has no member named ‘quirks’
render/hubbub_binding.c:759:4: error: ‘hubbub_ctx’ has no member named ‘quirks’
render/hubbub_binding.c:762:4: error: ‘hubbub_ctx’ has no member named ‘quirks’
render/hubbub_binding.c: In function ‘change_encoding’:
render/hubbub_binding.c:776:7: error: ‘hubbub_ctx’ has no member named ‘encoding

render/hubbub_binding.c:784:4: error: ‘hubbub_ctx’ has no member named ‘encoding
_source’
render/hubbub_binding.c:785:4: error: ‘hubbub_ctx’ has no member named ‘encoding

render/hubbub_binding.c:799:3: error: ‘hubbub_ctx’ has no member named ‘encoding

render/hubbub_binding.c:800:3: error: ‘hubbub_ctx’ has no member named ‘encoding
_source’
 COMPILE: render/html_redraw.c
 COMPILE: render/html_interaction.c
In file included from /usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m6
8k-amigaos/include/dirent.h:45:0,
                 from ./utils/config.h:23,
                 from ./content/content.h:31,
                 from render/html_interaction.c:29:
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m68k-amigaos/include/sys
/dirent.h:50:2: error: expected specifier-qualifier-list before ‘u_int32_t’
In file included from ./utils/config.h:57:0,
                 from ./content/content.h:31,
                 from render/html_interaction.c:29:
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m68k-amigaos/include/net
inet/in.h:81:2: error: expected specifier-qualifier-list before ‘u_int32_t’
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m68k-amigaos/include/net
inet/in.h:151:2: error: expected specifier-qualifier-list before ‘u_int8_t’
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m68k-amigaos/include/net
inet/in.h:167:2: error: expected specifier-qualifier-list before ‘int8_t’

i mean the hubbub, the not recognized type errors is as i remember to some include that is non standard for gcc here (exec/types.h or stdio.h or so)
« Last Edit: March 09, 2011, 11:29:44 PM by wawrzon »
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #18 on: March 10, 2011, 12:03:16 AM »
ive got from artur his latest libs and includes, i think it must compile for him. but perhaps i will check out the most current hubbub headres. it will be some time yet before the linking stage ;)

everything seems to compile fine now, except for hubbub and most files in amiga dir. but i quit for tonight i think.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #19 on: March 10, 2011, 12:15:50 AM »
just wanted to say: checked out latest hubbub headers and still no success.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #20 on: March 10, 2011, 02:17:15 AM »
hubbub problem found, if not yet completely solved. its too old libxml2. replaced headers with those of os4 aminet distro and now it compiles ok. waiting for arturs static lib, which should solve linking stage when we come to that. now the amiga dir must get our attention.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #21 on: March 10, 2011, 04:00:40 AM »
btw chris, i wonder what compiler do you use.
look at the following error i get with 4.5.0- , i comment out #include .

Quote

m68k-amigaos-gcc-4.5.0.exe -c amiga/thumbnail.c -o amiga/thumbnail.o -I"/usr/local/amiga/m68k-amigaos/sys-include" -I"/usr/local/amiga/m68k-amigaos/include" -I"C:/CrossCompiler/AmiDevCpp/projects/netsurf"  -w -include stdio.h  

amiga/thumbnail.c: Assembler messages:
amiga/thumbnail.c:100: Error: Unknown operator -- statement `js a6@(-0x2a6:W)' ignored
mingw32-make.exe: *** [amiga/thumbnail.o] Error 1

Execution terminated

3.4.0 compiles this file apparently just fine.
 i wonder if this is 4.5.0 bug or wrong code that accidentaly slips through unsuspecting or less restrictive 3.4.0. in that case it would be better to remain complaint with the up to date gcc, i think, as i suspect it is more probable to avoid wrong machine code this way.
« Last Edit: March 10, 2011, 04:10:54 AM by wawrzon »
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #22 on: March 10, 2011, 04:14:24 AM »
another example that compiles fine with 3.4.0 but not with 4.5.0:
Quote

mingw32-make.exe -f "C:\CrossCompiler\AmiDevCpp\projects\netsurf\Makefile.win" amiga/search.o
m68k-amigaos-gcc-4.5.0.exe -c amiga/search.c -o amiga/search.o -I"/usr/local/amiga/m68k-amigaos/sys-include" -I"/usr/local/amiga/m68k-amigaos/include" -I"C:/CrossCompiler/AmiDevCpp/projects/netsurf"  -w -include stdio.h  

In file included from /usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m68k-amigaos/sys-include/clib/alib_protos.h:22:0,
                 from C:/CrossCompiler/AmiDevCpp/projects/netsurf/amiga/os3support.h:31,
                 from amiga/search.c:38:
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m68k-amigaos/sys-include/devices/timer.h:30:8: error: redefinition of ‘struct timeval’
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m68k-amigaos/include/sys/time.h:50:8: note: originally defined here
amiga/search.c: In function ‘ami_search_open’:
amiga/search.c:375:0: error: unterminated argument list invoking macro "NewObject"
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m68k-amigaos/sys-include/reaction/reaction_macros.h:123:29: error: ‘NewObject’ undeclared (first use in this function)
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../m68k-amigaos/sys-include/reaction/reaction_macros.h:123:29: note: each undeclared identifier is reported only once for each function it appears in
amiga/search.c:132:2: error: expected ‘;’ at end of input
amiga/search.c:132:2: error: expected declaration or statement at end of input
mingw32-make.exe: *** [amiga/search.o] Error 1

Execution terminated
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #23 on: March 10, 2011, 10:09:32 PM »
yeah, thanks, i barely can compile stuff let alone fix it. in the unlikely case, should i find the cause though i will let you know.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #24 on: March 10, 2011, 10:41:37 PM »
i think i can just switch back to 3.4.0 for the time being. but as i think 4.5.0 is just much more restrictive to eventually broken code it might be good to pay attention to these problems. what makes me think this, is that i dont get this type of problems except with contetnt of amiga dir. please dont take it as any sort of critic, chris, i just wonder.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #25 on: March 10, 2011, 11:07:17 PM »
i might open a thread on utilitybase, this weekend i have priority things to do though.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #26 on: March 12, 2011, 10:54:44 PM »
as i said. dont hold your breath. everybody else here that has the slightest idea of programming is a better candidate to accomplish this, i am only having a look on it since nobody else does. so dont call on piru or itix for now. to be helped with something you have to know how to use that help.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #27 on: March 13, 2011, 12:25:35 PM »
i think you dont need internet to test netsurf. you can do it locally. i also have no internet on amiga for some time now since i resigned on my stationary connection, an appropriate 68k poseidon class has not yet been released for my surfstick. ;)
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #28 on: March 13, 2011, 01:40:20 PM »
ive uploaded the source as well as libs and includes sent me by artur here:

http://www.daten-transport.de/?id=F3g3e2eayzcD

since ive ended up using not exactly the same libs and includes as him ive uploaded what differs in files marked with wawa. it must be only libcurl and libxml2 related.
devcpp project included is meant for testing the particular sources.
you will have to edit or create makefile.config ive initially removed all plugins from the build.

hope nothing has been messed up while upload. im sitting on a bad mobile connection here.
 

Offline wawrzon

Re: Native 68k Netsurf
« Reply #29 from previous page: March 13, 2011, 01:48:02 PM »
btw, i always comment my changes to whatever sources with //wawa, so its easy to find. in this particular case i only remember to have made one or two.
in case of problems or further requests please come back to me. also if any include is missing, my whole folder is multiple mb, i just cant upload it from here.