AW: AW: AW: AW: AW: Runme script doesn't work | h eade r fi les missing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: AW: AW: AW: AW: Runme script doesn't work | h eade r fi les missing

brennion
 I'm using the thinstation_src-2.1.tar.bz2

-----Ursprüngliche Nachricht-----
Von: Hamish Guthrie [mailto:[hidden email]]
Gesendet: Dienstag, 6. September 2005 09:08
An: [hidden email]
Cc: [hidden email]
Betreff: Re: AW: AW: AW: AW: [Thinstation-developer] Runme script doesn't
work | h eade r fi les missing

Aaargh!

Exactly which TS build environment are you using (what was the original
build environment file you downloaded from sourceforge)?

Hamish

[hidden email] wrote:

> Thank you Hamish,
>
> Here are the error, when I'm running make : (seems that there is a
> problem with my build env)
>
>  bash# make
> Makefile:25: warning: overriding commands for target `main.o'
> Makefile:15: warning: ignoring old commands for target `main.o'
> gcc -o tsinventory confloader.o main.o getenv.o get_mac_and_ip.c
> ./libmysqlclien t.a -lz In file included from
> /usr/include/bits/posix1_lim.h:126,
>                  from /usr/include/limits.h:30,
>                  from
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/li
> mits.h:117,
>                  from
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/sy
> slimits.h:7,
>                  from
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/li
> mits.h:11,
>                  from /usr/include/bits/socket.h:31,
>                  from /usr/include/sys/socket.h:34,
>                  from get_mac_and_ip.c:3:
> /usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
> directory In file included from /usr/include/sys/socket.h:34,
>                  from get_mac_and_ip.c:3:
> /usr/include/bits/socket.h:295: asm/socket.h: No such file or
> directory In file included from /usr/include/sys/ioctl.h:27,
>                  from get_mac_and_ip.c:4:
> /usr/include/bits/ioctls.h:24: asm/ioctls.h: No such file or directory
> In file included from /usr/include/sys/ioctl.h:30,
>                  from get_mac_and_ip.c:4:
> /usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or
> directory
> make: *** [tsinventory] Error 1
> bash#
>
> -----Ursprüngliche Nachricht-----
> Von: Hamish Guthrie [mailto:[hidden email]]
> Gesendet: Dienstag, 6. September 2005 08:56
> An: [hidden email]
> Betreff: Re: AW: AW: AW: [Thinstation-developer] Runme script doesn't
> work | h eade r fi les missing
>
> The build environment is working - you do not have any of the required
> mysaq stuff in your build environment though - you will need to build
> a mysql development environment under Thinstation.
>
> Attached is the file containing the compiler errors.
>
> Hamish
>
> [hidden email] wrote:
>
>>Hi,
>>
>>Could you try to compile my program ? I really don't know what to try
>>to get it work...
>>Maybe I've missed to put something in makefile ?
>>
>>-----Ursprüngliche Nachricht-----
>>Von: Hamish Guthrie [mailto:[hidden email]]
>>Gesendet: Montag, 5. September 2005 17:22
>>An: [hidden email]
>>Betreff: Re: AW: AW: [Thinstation-developer] Runme script doesn't work
>>| heade r fi les missing
>>
>>That is actually working perfectly - it is just a badly written piece
>>of code, and the declaration of the main function is wrong - under GNU
>>C, main should always retturn an integer, so what you could do to
>>avoid that error (which is not a seriaous warning anyway), is to
>>replace the void in front of the main
>>
>>i.e.
>>
>>void main(....)
>>
>>with int main(...)
>>
>>and then just before the last brage in the code, put in a return to
>>avoid any more errors, so, something like
>>
>>   }
>>   return 0;
>>}
>>
>>if you do an ls in thae directory now, in any case, you will find that
>>it has built a working hex2char.c
>>
>>Your compiler environment therefore works - read the setup.sh and see
>>what else you need to do.
>>
>>Hamish
>>
>>[hidden email] wrote:
>>
>>
>>>So, i've normally run RUNME, then I made a cd source/hex2char and run
>>>./setup.sh Here is the result of this command :
>>>hex2char.c: In function `main':
>>>hex2char.c:25: warning: return type of `main' is not `int'
>>>
>>>-----Ursprüngliche Nachricht-----
>>>Von: Hamish Guthrie [mailto:[hidden email]]
>>>Gesendet: Montag, 5. September 2005 13:24
>>>An: [hidden email]
>>>Cc: [hidden email]; [hidden email]
>>>Betreff: Re: AW: [Thinstation-developer] Runme script doesn't work |
>>>header fi les missing
>>>
>>>I am using sarge and the chrooted build environment works fine.
>>>
>>>Brennion, there is a really simple program you can test a compilation
>>>with in source/hex2char - execute ./RUNME then cd source/hex2chr
>>>./setup.sh
>>>
>>>And see if it works!
>>>
>>>Then look at setup.sh and see how gcc should be called.
>>>
>>>Hamish
>>>
>>>[hidden email] wrote:
>>>
>>>
>>>
>>>>Same problem directly on the machine...
>>>>
>>>>Normally, making a directory in the ts_source folder to put my .c
>>>>files and running make must be the right way ? When Not, can someone
>>>>tell me what to do after running RUNME ?
>>>>Do I have to specify the library path somewhere ?
>>>>
>>>>Can you tell me if my env is ok (see below) ?
>>>>
>>>>I was so happy to finish my first c program for TS, now I would like
>>>>to have it compiled ;) !
>>>>
>>>>-----Ursprüngliche Nachricht-----
>>>>Von: Miles Roper [mailto:[hidden email]]
>>>>Gesendet: Montag, 5. September 2005 12:50
>>>>An: [hidden email]
>>>>Cc: [hidden email]
>>>>Betreff: Re: [Thinstation-developer] Runme script doesn't work |
>>>>header files missing
>>>>
>>>>could be, can you try it from the machine where you have installed
>>>>the source?  i've never tested the dev env through ssh so no idea if
>>>>that could cause problems.
>>>>
>>>>
>>>>[hidden email] wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>I've already the same problem, I've install ts-dev on a new sarge
>>>>>system, and I've already the same problem, I'm not able to conpile
>>>>>my
>>>
>>>program.
>>>
>>>
>>>
>>>>>- Is it possible that the problem is that I'm using ssh to run RUNME ?
>>>>>- Do I need to put my program in a special folder to compile it ?
>>>>>
>>>>>Here my env after RUNME :
>>>>>--------------------------
>>>>>bash# env
>>>>>LOGNAME=root
>>>>>SSH_TTY=/dev/pts/0
>>>>>MAIL=/var/mail/root
>>>>>LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
>>>>>SSH_CONNECTION=::ffff:192.168.40.55 1428 ::ffff:192.168.41.158 22
>>>>>TERM=xterm
>>>>>HOSTTYPE=i386
>>>>>
>>>>
>>>>PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/u
>>>>s
>>>>r
>>>>/bin/X
>>>>
>>>>
>>>>
>>>>
>>>>>11
>>>>>HOME=/root
>>>>>SHELL=/bin/bash
>>>>>http_proxy=http://192.168.40.20:8080
>>>>>USER=root
>>>>>LANGUAGE=de_DE:de:en_GB:en
>>>>>LANG=de_DE@euro
>>>>>SSH_CLIENT=::ffff:192.168.40.55 1428 22 OSTYPE=Linux PWD=/
>>>>>_=/usr/local/bin/env
>>>>>SHLVL=4
>>>>>
>>>>>
>>>>>Mit freundlichem Gruss
>>>>>
>>>>>BRENNION Sébastien
>>>>>EDV-Abteilung
>>>>>Bürstner GmbH
>>>>>Weststr. 33, 77694 Kehl
>>>>>Tel:  +49 (0) 7851/85 216
>>>>>Fax: +49 (0) 7851/855216
>>>>>[hidden email]
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>>
>>>Practices
>>>
>>>
>>>
>>>>Agile & Plan-Driven Development * Managing Projects & Teams *
>>>>Testing & QA Security * Process Improvement & Measurement *
>>>>http://www.sqe.com/bsce5sf 
>>>>_______________________________________________
>>>>Thinstation-developer mailing list
>>>>[hidden email]
>>>>https://lists.sourceforge.net/lists/listinfo/thinstation-developer
>>>>
>>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>>Practices Agile & Plan-Driven Development * Managing Projects & Teams
>>>* Testing & QA Security * Process Improvement & Measurement *
>>>http://www.sqe.com/bsce5sf 
>>>_______________________________________________
>>>Thinstation-developer mailing list
>>>[hidden email]
>>>https://lists.sourceforge.net/lists/listinfo/thinstation-developer
>>>
>>>
>>
>>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices Agile & Plan-Driven Development * Managing Projects & Teams
> * Testing & QA Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf 
> _______________________________________________
> Thinstation-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/thinstation-developer
>
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Thinstation-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: AW: AW: AW: AW: AW: Runme script doesn't work | h eade r fi les missing

Hamish Guthrie-2
Let me try that one - I was using a 2.2

[hidden email] wrote:

>  I'm using the thinstation_src-2.1.tar.bz2
>
> -----Ursprüngliche Nachricht-----
> Von: Hamish Guthrie [mailto:[hidden email]]
> Gesendet: Dienstag, 6. September 2005 09:08
> An: [hidden email]
> Cc: [hidden email]
> Betreff: Re: AW: AW: AW: AW: [Thinstation-developer] Runme script doesn't
> work | h eade r fi les missing
>
> Aaargh!
>
> Exactly which TS build environment are you using (what was the original
> build environment file you downloaded from sourceforge)?
>
> Hamish
>
> [hidden email] wrote:
>
>>Thank you Hamish,
>>
>>Here are the error, when I'm running make : (seems that there is a
>>problem with my build env)
>>
>> bash# make
>>Makefile:25: warning: overriding commands for target `main.o'
>>Makefile:15: warning: ignoring old commands for target `main.o'
>>gcc -o tsinventory confloader.o main.o getenv.o get_mac_and_ip.c
>>./libmysqlclien t.a -lz In file included from
>>/usr/include/bits/posix1_lim.h:126,
>>                 from /usr/include/limits.h:30,
>>                 from
>>/usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/li
>>mits.h:117,
>>                 from
>>/usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/sy
>>slimits.h:7,
>>                 from
>>/usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/li
>>mits.h:11,
>>                 from /usr/include/bits/socket.h:31,
>>                 from /usr/include/sys/socket.h:34,
>>                 from get_mac_and_ip.c:3:
>>/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
>>directory In file included from /usr/include/sys/socket.h:34,
>>                 from get_mac_and_ip.c:3:
>>/usr/include/bits/socket.h:295: asm/socket.h: No such file or
>>directory In file included from /usr/include/sys/ioctl.h:27,
>>                 from get_mac_and_ip.c:4:
>>/usr/include/bits/ioctls.h:24: asm/ioctls.h: No such file or directory
>>In file included from /usr/include/sys/ioctl.h:30,
>>                 from get_mac_and_ip.c:4:
>>/usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or
>>directory
>>make: *** [tsinventory] Error 1
>>bash#
>>
>>-----Ursprüngliche Nachricht-----
>>Von: Hamish Guthrie [mailto:[hidden email]]
>>Gesendet: Dienstag, 6. September 2005 08:56
>>An: [hidden email]
>>Betreff: Re: AW: AW: AW: [Thinstation-developer] Runme script doesn't
>>work | h eade r fi les missing
>>
>>The build environment is working - you do not have any of the required
>>mysaq stuff in your build environment though - you will need to build
>>a mysql development environment under Thinstation.
>>
>>Attached is the file containing the compiler errors.
>>
>>Hamish
>>
>>[hidden email] wrote:
>>
>>
>>>Hi,
>>>
>>>Could you try to compile my program ? I really don't know what to try
>>>to get it work...
>>>Maybe I've missed to put something in makefile ?
>>>
>>>-----Ursprüngliche Nachricht-----
>>>Von: Hamish Guthrie [mailto:[hidden email]]
>>>Gesendet: Montag, 5. September 2005 17:22
>>>An: [hidden email]
>>>Betreff: Re: AW: AW: [Thinstation-developer] Runme script doesn't work
>>>| heade r fi les missing
>>>
>>>That is actually working perfectly - it is just a badly written piece
>>>of code, and the declaration of the main function is wrong - under GNU
>>>C, main should always retturn an integer, so what you could do to
>>>avoid that error (which is not a seriaous warning anyway), is to
>>>replace the void in front of the main
>>>
>>>i.e.
>>>
>>>void main(....)
>>>
>>>with int main(...)
>>>
>>>and then just before the last brage in the code, put in a return to
>>>avoid any more errors, so, something like
>>>
>>>  }
>>>  return 0;
>>>}
>>>
>>>if you do an ls in thae directory now, in any case, you will find that
>>>it has built a working hex2char.c
>>>
>>>Your compiler environment therefore works - read the setup.sh and see
>>>what else you need to do.
>>>
>>>Hamish
>>>
>>>[hidden email] wrote:
>>>
>>>
>>>
>>>>So, i've normally run RUNME, then I made a cd source/hex2char and run
>>>>./setup.sh Here is the result of this command :
>>>>hex2char.c: In function `main':
>>>>hex2char.c:25: warning: return type of `main' is not `int'
>>>>
>>>>-----Ursprüngliche Nachricht-----
>>>>Von: Hamish Guthrie [mailto:[hidden email]]
>>>>Gesendet: Montag, 5. September 2005 13:24
>>>>An: [hidden email]
>>>>Cc: [hidden email]; [hidden email]
>>>>Betreff: Re: AW: [Thinstation-developer] Runme script doesn't work |
>>>>header fi les missing
>>>>
>>>>I am using sarge and the chrooted build environment works fine.
>>>>
>>>>Brennion, there is a really simple program you can test a compilation
>>>>with in source/hex2char - execute ./RUNME then cd source/hex2chr
>>>>./setup.sh
>>>>
>>>>And see if it works!
>>>>
>>>>Then look at setup.sh and see how gcc should be called.
>>>>
>>>>Hamish
>>>>
>>>>[hidden email] wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>Same problem directly on the machine...
>>>>>
>>>>>Normally, making a directory in the ts_source folder to put my .c
>>>>>files and running make must be the right way ? When Not, can someone
>>>>>tell me what to do after running RUNME ?
>>>>>Do I have to specify the library path somewhere ?
>>>>>
>>>>>Can you tell me if my env is ok (see below) ?
>>>>>
>>>>>I was so happy to finish my first c program for TS, now I would like
>>>>>to have it compiled ;) !
>>>>>
>>>>>-----Ursprüngliche Nachricht-----
>>>>>Von: Miles Roper [mailto:[hidden email]]
>>>>>Gesendet: Montag, 5. September 2005 12:50
>>>>>An: [hidden email]
>>>>>Cc: [hidden email]
>>>>>Betreff: Re: [Thinstation-developer] Runme script doesn't work |
>>>>>header files missing
>>>>>
>>>>>could be, can you try it from the machine where you have installed
>>>>>the source?  i've never tested the dev env through ssh so no idea if
>>>>>that could cause problems.
>>>>>
>>>>>
>>>>>[hidden email] wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>I've already the same problem, I've install ts-dev on a new sarge
>>>>>>system, and I've already the same problem, I'm not able to conpile
>>>>>>my
>>>>
>>>>program.
>>>>
>>>>
>>>>
>>>>
>>>>>>- Is it possible that the problem is that I'm using ssh to run RUNME ?
>>>>>>- Do I need to put my program in a special folder to compile it ?
>>>>>>
>>>>>>Here my env after RUNME :
>>>>>>--------------------------
>>>>>>bash# env
>>>>>>LOGNAME=root
>>>>>>SSH_TTY=/dev/pts/0
>>>>>>MAIL=/var/mail/root
>>>>>>LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
>>>>>>SSH_CONNECTION=::ffff:192.168.40.55 1428 ::ffff:192.168.41.158 22
>>>>>>TERM=xterm
>>>>>>HOSTTYPE=i386
>>>>>>
>>>>>
>>>>>PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/u
>>>>>s
>>>>>r
>>>>>/bin/X
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>11
>>>>>>HOME=/root
>>>>>>SHELL=/bin/bash
>>>>>>http_proxy=http://192.168.40.20:8080
>>>>>>USER=root
>>>>>>LANGUAGE=de_DE:de:en_GB:en
>>>>>>LANG=de_DE@euro
>>>>>>SSH_CLIENT=::ffff:192.168.40.55 1428 22 OSTYPE=Linux PWD=/
>>>>>>_=/usr/local/bin/env
>>>>>>SHLVL=4
>>>>>>
>>>>>>
>>>>>>Mit freundlichem Gruss
>>>>>>
>>>>>>BRENNION Sébastien
>>>>>>EDV-Abteilung
>>>>>>Bürstner GmbH
>>>>>>Weststr. 33, 77694 Kehl
>>>>>>Tel:  +49 (0) 7851/85 216
>>>>>>Fax: +49 (0) 7851/855216
>>>>>>[hidden email]
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>-------------------------------------------------------
>>>>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>>>
>>>>Practices
>>>>
>>>>
>>>>
>>>>
>>>>>Agile & Plan-Driven Development * Managing Projects & Teams *
>>>>>Testing & QA Security * Process Improvement & Measurement *
>>>>>http://www.sqe.com/bsce5sf 
>>>>>_______________________________________________
>>>>>Thinstation-developer mailing list
>>>>>[hidden email]
>>>>>https://lists.sourceforge.net/lists/listinfo/thinstation-developer
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>>>Practices Agile & Plan-Driven Development * Managing Projects & Teams
>>>>* Testing & QA Security * Process Improvement & Measurement *
>>>>http://www.sqe.com/bsce5sf 
>>>>_______________________________________________
>>>>Thinstation-developer mailing list
>>>>[hidden email]
>>>>https://lists.sourceforge.net/lists/listinfo/thinstation-developer
>>>>
>>>>
>>>
>>>
>>
>>-------------------------------------------------------
>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>Practices Agile & Plan-Driven Development * Managing Projects & Teams
>>* Testing & QA Security * Process Improvement & Measurement *
>>http://www.sqe.com/bsce5sf 
>>_______________________________________________
>>Thinstation-developer mailing list
>>[hidden email]
>>https://lists.sourceforge.net/lists/listinfo/thinstation-developer
>>
>>
>
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Thinstation-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-developer
Loading...