[MacPorts] #34493: Error during make on foo2zjs

MacPorts noreply at macports.org
Thu May 17 17:43:17 PDT 2012


#34493: Error during make on foo2zjs
------------------------------------------+---------------------------------
 Reporter:  support@…                     |       Owner:  macports-tickets@…                   
     Type:  defect                        |      Status:  new                                  
 Priority:  Normal                        |   Milestone:                                       
Component:  ports                         |     Version:  2.1.0                                
 Keywords:                                |        Port:                                       
------------------------------------------+---------------------------------
Changes (by ryandesign@…):

  * keywords:  foo2zjs hotplug p1005 =>


Old description:

> Get as far as "make" in foo2zjs but run into this error:
>
> eliyahu-eliyahus-ibook-g4-3:~/Desktop/foo2zjs/osx-hotplug eliyahueliyahu$
> make
> cc    -c -o osx-hplj-hotplug.o osx-hplj-hotplug.m
> osx-hplj-hotplug.m: In function 'main':
> osx-hplj-hotplug.m:625: error: 'optarg' undeclared (first use in this
> function)
> osx-hplj-hotplug.m:625: error: (Each undeclared identifier is reported
> only once
> osx-hplj-hotplug.m:625: error: for each function it appears in.)
> osx-hplj-hotplug.m:630: error: 'optind' undeclared (first use in this
> function)
> make: *** [osx-hplj-hotplug.o] Error 1
>
> Don't know how to resolve it.

New description:

 Get as far as "make" in foo2zjs but run into this error:

 {{{
 eliyahu-eliyahus-ibook-g4-3:~/Desktop/foo2zjs/osx-hotplug eliyahueliyahu$
 make
 cc    -c -o osx-hplj-hotplug.o osx-hplj-hotplug.m
 osx-hplj-hotplug.m: In function 'main':
 osx-hplj-hotplug.m:625: error: 'optarg' undeclared (first use in this
 function)
 osx-hplj-hotplug.m:625: error: (Each undeclared identifier is reported
 only once
 osx-hplj-hotplug.m:625: error: for each function it appears in.)
 osx-hplj-hotplug.m:630: error: 'optind' undeclared (first use in this
 function)
 make: *** [osx-hplj-hotplug.o] Error 1
 }}}

 Don't know how to resolve it.

--

Comment:

 Please use WikiFormatting when writing in Trac.

 I don't see a port for "foo2zjs"; you appear to be building it by hand. So
 what does this problem have to do with MacPorts?

-- 
Ticket URL: <https://trac.macports.org/ticket/34493#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list