I modified one of your spec file, and I got the following error, will you
give me some help on this?
The attachment is the spec file that I used.

/bin/sh ../libtool --tag=CXX --mode=link g++ -ansi -Wall -g
-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -o bdptest
bdptest.o ../src/libbarrydp.la -lpthread
g++ -ansi -Wall -g -fomit-frame-pointer -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -o .libs/bjvmdebug bjvmdebug.o
../src/.libs/libbarry.so -lusb -lpthread
g++ -ansi -Wall -g -fomit-frame-pointer -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -o .libs/bdptest bdptest.o
../src/.libs/libbarrydp.so -lpthread
creating bjvmdebug
bdptest.o: In function `main':
/usr/src/packages/BUILD/barry-0.16/tools/bdptest.cc:51: undefined reference
to `Barry::Init(bool, std::basic_ostream<char, std::char_traits<char> >*)'
collect2: ld returned 1 exit status
/bin/sh ../libtool --tag=CXX --mode=link g++ -ansi -Wall -g
-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -o bjdwp
bjdwp.o ../src/libbarry.la ../src/libbarrydp.la ../src/libbarryjdwp.la-lpthread
make[2]: *** [bdptest] Error 1
make[2]: *** Waiting for unfinished jobs....
g++ -ansi -Wall -g -fomit-frame-pointer -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -o .libs/bjdwp bjdwp.o ../src/.libs/libbarry.so
../src/.libs/libbarrydp.so ../src/.libs/libbarryjdwp.so -lpthread
creating bjdwp
make[2]: Leaving directory `/usr/src/packages/BUILD/barry-0.16/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/barry-0.16'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.SfyNDY (%build)



On Sat, Dec 5, 2009 at 12:59 AM, Yuan Jiang <sleetd...@gmail.com> wrote:

> I am reading the documents and try to do the work.
> I want to build the latest version, where can I get the newest spec files?
>
>
> On Fri, Dec 4, 2009 at 11:41 AM, Chris Frey <cdf...@foursquare.net> wrote:
>
>> On Fri, Dec 04, 2009 at 09:38:33AM +0800, Yuan Jiang wrote:
>> > Thanks for your reply, I have not used opensuse build service to build
>> > packages before. I will look into it the weeekend if I have free time.
>> > Will you give me some quick start guide?
>>
>> I'd start here:
>>
>>        http://en.opensuse.org/Build_Service
>>
>> As well as the manual:
>>
>>        https://build.opensuse.org/documentation/obs/index.html
>>
>> I used the command line client, osc, but I believe there's a web one
>> as well.
>>
>> Once you login to the service and you have your own account and home
>> area, I believe you can grab all my files from home:ndprojects, upload
>> them into your own repo (I'd recommend doing it one distro at a time), and
>> start from there.
>>
>> I'd also recommend subscribing to the mailing list:
>>
>>        http://en.opensuse.org/Build_Service/Support
>>
>> - Chris
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Join us December 9, 2009 for the Red Hat Virtual Experience,
>> a free event focused on virtualization and cloud computing.
>> Attend in-depth sessions from your desk. Your couch. Anywhere.
>> http://p.sf.net/sfu/redhat-sfdev2dev
>> _______________________________________________
>> Barry-devel mailing list
>> Barry-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/barry-devel
>>
>
>
>
> --
> 姜源
> Yuan Jiang
> http://blog.vetcafe.net
> http://twitter.com/sleetdrop
>
>


-- 
姜源
Yuan Jiang
http://blog.vetcafe.net
http://twitter.com/sleetdrop

Attachment: barry.spec
Description: Binary data

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to