Date: Mon, 10 Nov 2003 02:54:39 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 224 ************************************************** Sunday 09 November 2003 Number 224 ************************************************** Subjects for today 1 Re: building stuff with ux2bs : Dave and Natalie" 2 Re: JPEG & TIFF : Dave and Natalie" 3 building stuff with ux2bs : Adrian Gschwend" 4 Re: building stuff with ux2bs : John Poltorak 5 Re: building stuff with ux2bs : Adrian Gschwend" 6 Re: building stuff with ux2bs : John Poltorak 7 Re: building stuff with ux2bs : Sebastian Wittmeier (ShadoW)" 8 Re: building stuff with ux2bs : John Poltorak 9 Re: building stuff with ux2bs : John Poltorak 10 JPEG & TIFF : John Poltorak **= Email 1 ==========================** Date: Mon, 10 Nov 2003 12:45:25 -0800 From: "Dave and Natalie" Subject: Re: building stuff with ux2bs On Mon, 10 Nov 2003 19:46:57 +0100 (CET), Adrian Gschwend wrote: >./traceroute.c:213: netinet/ip_var.h: No such file or directory >./traceroute.c:233: gnuc.h: No such file or directory >In file included from ./traceroute.c:205: >d:\emx\include\sys/select.h:39: parse error before `size_t' >./traceroute.c:294: `MAX_IPOPTLEN' undeclared here (not in a function) >./traceroute.c:294: size of array `gwlist' has non-integer type >./traceroute.c:350: syntax error before `void' >./traceroute.c: In function `main': >./traceroute.c:401: `MAX_IPOPTLEN' undeclared (first use in this >function) Innoteks Libc has netinet/ip_var.h which has #define MAX_IPOPTLEN 40 I can't find a gnuc.h on either of my linux partitions, I'd try remming it out and see what happens Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Mon, 10 Nov 2003 15:26:08 -0800 From: "Dave and Natalie" Subject: Re: JPEG & TIFF On Mon, 10 Nov 2003 23:31:29 +0000, John Poltorak wrote: > > >I've managed to build JPEG & TIFF using UX2BS, although a couple of >niggles still need ironing out. > >Can anyone try them out in the next day or two? > >They are not ready for testing just yet but should be tommorrow. Did you manage to build the DLLs? One good test app is glinks (http://hobbes.nmsu.edu/pub/os2/apps/internet/www/browser/links-2.1pre7. zip) which uses all the graphic DLLs when in graphic mode Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Mon, 10 Nov 2003 17:25:56 +0100 (CET) From: "Adrian Gschwend" Subject: building stuff with ux2bs Hi guys, I try to get some small things like an enhanced traceroute to compile (I need some simple things to start :-). Now I miss some headers and libraries. What should I take as base nowadays? How should I add headers that other people can use it as well? cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Mon, 10 Nov 2003 17:34:15 +0000 From: John Poltorak Subject: Re: building stuff with ux2bs On Mon, Nov 10, 2003 at 05:25:56PM +0100, Adrian Gschwend wrote: > Hi guys, > > I try to get some small things like an enhanced traceroute to compile > (I need some simple things to start :-). Which traceroute is this? > Now I miss some headers and libraries. What should I take as base > nowadays? How should I add headers that other people can use it as > well? What is the origin of the headers? The source for many libraries includes its own headers. > cu > > Adrian > > > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org > http://os2ports.com/mailman/listinfo/ux2bs -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Mon, 10 Nov 2003 19:46:57 +0100 (CET) From: "Adrian Gschwend" Subject: Re: building stuff with ux2bs On Mon, 10 Nov 2003 17:34:15 +0000, John Poltorak wrote: >Which traceroute is this? traceroute-1.4a13, got this from hacker-sources. Seems to be quite complete with options. I compiled it on Gentoo Linux without problems like this. >> Now I miss some headers and libraries. What should I take as base >> nowadays? How should I add headers that other people can use it as >> well? > >What is the origin of the headers? > >The source for many libraries includes its own headers. Here some details: configure: loading cache ./config.cache checking host system type... checking target system type... checking build system type... checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... yes checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for malloc.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/sockio.h... (cached) yes checking for net/route.h... (cached) yes checking for net/if_dl.h... (cached) no checking for inet/mib2.h... (cached) no checking for strerror... (cached) yes checking for usleep... (cached) no checking for setlinebuf... (cached) no checking for nanosleep... (cached) no checking for gethostbyname... (cached) no checking for gethostbyname in -lnsl... (cached) no checking for gethostbyname in -lsocket... (cached) yes checking for socket... (cached) yes checking for putmsg in -lstr... (cached) no checking routing table type... generic checking for int32_t using gcc... (cached) no checking for u_int32_t using gcc... (cached) no checking if sockaddr struct has sa_len member... (cached) no checking if struct icmp has icmp_nextmtu... (cached) no checking for a BSD compatible install... /usr/bin/install.exe creating ./config.status creating Makefile make: [unixos2 D:\ports\traceroute\traceroute-1.4a13>make -I. -c ./traceroute.c : No such file or directory In file included from ./traceroute.c:207: d:\emx\include\sys/socket.h:42: warning: #warning requires ./traceroute.c:213: netinet/ip_var.h: No such file or directory ./traceroute.c:233: gnuc.h: No such file or directory In file included from ./traceroute.c:205: d:\emx\include\sys/select.h:39: parse error before `size_t' ./traceroute.c:294: `MAX_IPOPTLEN' undeclared here (not in a function) ./traceroute.c:294: size of array `gwlist' has non-integer type ./traceroute.c:350: syntax error before `void' ./traceroute.c: In function `main': ./traceroute.c:401: `MAX_IPOPTLEN' undeclared (first use in this function) ./traceroute.c:401: (Each undeclared identifier is reported only once ./traceroute.c:401: for each function it appears in.) ./traceroute.c: In function `send_probe': ./traceroute.c:971: dereferencing pointer to incomplete type ./traceroute.c:972: dereferencing pointer to incomplete type ./traceroute.c:972: dereferencing pointer to incomplete type ./traceroute.c:973: dereferencing pointer to incomplete type ./traceroute.c:973: dereferencing pointer to incomplete type ./traceroute.c:974: dereferencing pointer to incomplete type ./traceroute.c:974: dereferencing pointer to incomplete type ./traceroute.c:975: dereferencing pointer to incomplete type ./traceroute.c: At top level: ./traceroute.c:1387: syntax error before `void' make: *** [traceroute.o] Error 1 cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Mon, 10 Nov 2003 20:00:30 +0000 From: John Poltorak Subject: Re: building stuff with ux2bs On Mon, Nov 10, 2003 at 07:46:57PM +0100, Adrian Gschwend wrote: > On Mon, 10 Nov 2003 17:34:15 +0000, John Poltorak wrote: > > >Which traceroute is this? > > traceroute-1.4a13, got this from hacker-sources. Is that a web site? I can't find it. > Seems to be quite > complete with options. I compiled it on Gentoo Linux without problems > like this. Maybe it is Linux specific code, requiring GLIBC... > >> Now I miss some headers and libraries. What should I take as base > >> nowadays? How should I add headers that other people can use it as > >> well? > > > >What is the origin of the headers? > > > >The source for many libraries includes its own headers. > > Here some details: You may get further using Posix/2... > make: > [unixos2 D:\ports\traceroute\traceroute-1.4a13>make > -I. -c ./traceroute.c > : No such file or directory > In file included from ./traceroute.c:207: > d:\emx\include\sys/socket.h:42: warning: #warning > requires This may disappear. > ./traceroute.c:213: netinet/ip_var.h: No such file or directory This should be OK. > ./traceroute.c:233: gnuc.h: No such file or directory No idea about this. Maybe it is in glibc... > In file included from ./traceroute.c:205: > d:\emx\include\sys/select.h:39: parse error before `size_t' > ./traceroute.c:294: `MAX_IPOPTLEN' undeclared here (not in a function) > ./traceroute.c:294: size of array `gwlist' has non-integer type > ./traceroute.c:350: syntax error before `void' > ./traceroute.c: In function `main': > ./traceroute.c:401: `MAX_IPOPTLEN' undeclared (first use in this > function) Maybe Stefan could comment on these msgs... > cu > > Adrian > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Mon, 10 Nov 2003 20:03:42 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: building stuff with ux2bs On Mon, 10 Nov 2003 19:46:57 +0100 (CET), Adrian Gschwend wrote: >./traceroute.c:213: netinet/ip_var.h: No such file or directory According to various information sources from the Internet, that header file lists some internal (kernel level) values of the Linux TCP/IP stack. User level programs should not use it. Look in the traceroute source package (some traceroute versions contain it) or on the Internet for it (i.e. the Linux version). Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Mon, 10 Nov 2003 20:20:17 +0000 From: John Poltorak Subject: Re: building stuff with ux2bs On Mon, Nov 10, 2003 at 08:03:42PM +0100, Sebastian Wittmeier (ShadoW) wrote: > On Mon, 10 Nov 2003 19:46:57 +0100 (CET), Adrian Gschwend wrote: > >./traceroute.c:213: netinet/ip_var.h: No such file or directory > > According to various information sources from the Internet, that header > file lists some internal (kernel level) values of the Linux TCP/IP > stack. User level programs should not use it. Look in the traceroute > source package (some traceroute versions contain it) or on the Internet > for it (i.e. the Linux version). The one in Posix/2 originates from BSD. > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Mon, 10 Nov 2003 21:59:22 +0000 From: John Poltorak Subject: Re: building stuff with ux2bs On Mon, Nov 10, 2003 at 12:45:25PM -0800, Dave and Natalie wrote: > On Mon, 10 Nov 2003 19:46:57 +0100 (CET), Adrian Gschwend wrote: > > >./traceroute.c:213: netinet/ip_var.h: No such file or directory > >./traceroute.c:233: gnuc.h: No such file or directory > >In file included from ./traceroute.c:205: > >d:\emx\include\sys/select.h:39: parse error before `size_t' > >./traceroute.c:294: `MAX_IPOPTLEN' undeclared here (not in a function) > >./traceroute.c:294: size of array `gwlist' has non-integer type > >./traceroute.c:350: syntax error before `void' > >./traceroute.c: In function `main': > >./traceroute.c:401: `MAX_IPOPTLEN' undeclared (first use in this > >function) > > Innoteks Libc has netinet/ip_var.h which has > #define MAX_IPOPTLEN 40 Posix/2's version also has it, so it is included with UX2BS. > Dave -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Mon, 10 Nov 2003 23:31:29 +0000 From: John Poltorak Subject: JPEG & TIFF I've managed to build JPEG & TIFF using UX2BS, although a couple of niggles still need ironing out. Can anyone try them out in the next day or two? They are not ready for testing just yet but should be tommorrow. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs