problem with a simple program.

View: New views
6 Messages — Rating Filter:   Alert me  

problem with a simple program.

by João Ferreira-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi list!
i have a title problem here compiling gengetopt based program
the code is here:

apparently the code have some unknown variables..


http://rafb.net/p/y6LZDx55.html

someone have a clue ?? thks


_______________________________________________
Help-gengetopt mailing list
Help-gengetopt@...
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Re: problem with a simple program.

by Kay-Michael Wuerzner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I guess you have to add the variables

package "<packname>"
version "<version>"

to your gengetopt specification unless you use autotools.

Best regards,
Kay


On Fri, Nov 21, 2008 at 4:59 PM, João Ferreira
<joao.ferreira@...> wrote:

> hi list!
> i have a title problem here compiling gengetopt based program
> the code is here:
>
> apparently the code have some unknown variables..
>
>
> http://rafb.net/p/y6LZDx55.html
>
> someone have a clue ?? thks
>
>
> _______________________________________________
> Help-gengetopt mailing list
> Help-gengetopt@...
> http://lists.gnu.org/mailman/listinfo/help-gengetopt
>

_______________________________________________
Help-gengetopt mailing list
Help-gengetopt@...
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Re: problem with a simple program.

by Lorenzo Bettini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

exactly! :-)

Lorenzo

Kay-Michael Wuerzner wrote:

> Hi,
>
> I guess you have to add the variables
>
> package "<packname>"
> version "<version>"
>
> to your gengetopt specification unless you use autotools.
>
> Best regards,
> Kay
>
>
> On Fri, Nov 21, 2008 at 4:59 PM, João Ferreira
> <joao.ferreira@...> wrote:
>> hi list!
>> i have a title problem here compiling gengetopt based program
>> the code is here:
>>
>> apparently the code have some unknown variables..
>>
>>
>> http://rafb.net/p/y6LZDx55.html
>>
>> someone have a clue ?? thks
>>
>>
>> _______________________________________________
>> Help-gengetopt mailing list
>> Help-gengetopt@...
>> http://lists.gnu.org/mailman/listinfo/help-gengetopt
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Help-gengetopt mailing list
>> Help-gengetopt@...
>> http://lists.gnu.org/mailman/listinfo/help-gengetopt


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


_______________________________________________
Help-gengetopt mailing list
Help-gengetopt@...
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Re: problem with a simple program.

by Salvatore Santagati :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi João,

I think is "optional" if _package_ and _version_  you have make with  autoconf.


http://www.gnu.org/software/gengetopt/gengetopt.html#Basic-Usage

Cheers
Salvo

_______________________________________________
Help-gengetopt mailing list
Help-gengetopt@...
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Re: problem with a simple program.

by Lorenzo Bettini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Salvatore Santagati wrote:
> Hi João,
>
> I think is "optional" if _package_ and _version_  you have make with  autoconf.
>
>
> http://www.gnu.org/software/gengetopt/gengetopt.html#Basic-Usage
>

yes you're perfectly right!  However, surely the documentation is not
clear in that point (I've just realized that), so I'll improve it.

thanks for the feedback!

Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


_______________________________________________
Help-gengetopt mailing list
Help-gengetopt@...
http://lists.gnu.org/mailman/listinfo/help-gengetopt

[SOLVED] Re: problem with a simple program.

by João Ferreira-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

works good!
thanks a lot

Kay-Michael Wuerzner wrote:
Hi,

I guess you have to add the variables

package "<packname>"
version "<version>"

to your gengetopt specification unless you use autotools.

Best regards,
Kay


On Fri, Nov 21, 2008 at 4:59 PM, João Ferreira
joao.ferreira@... wrote:
  
hi list!
i have a title problem here compiling gengetopt based program
the code is here:

apparently the code have some unknown variables..


http://rafb.net/p/y6LZDx55.html

someone have a clue ?? thks


_______________________________________________
Help-gengetopt mailing list
Help-gengetopt@...
http://lists.gnu.org/mailman/listinfo/help-gengetopt

    

_______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt


_______________________________________________
Help-gengetopt mailing list
Help-gengetopt@...
http://lists.gnu.org/mailman/listinfo/help-gengetopt