Giter Club home page Giter Club logo

Comments (5)

yzfedora avatar yzfedora commented on July 16, 2024

hello, I think the problem is our program use O2 option to optimize, you
can try following command to disable optimization, ./configure CFLAGS="",
then try make and install, if it works please contact me, I will add a
disable-optimization option to to the program.

very thank you!

On Sun, Jul 24, 2016 at 2:03 AM Qishen Li [email protected] wrote:

My environment:
OSX 10.11.5
gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Warnings:
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT bdpandl.o -MD -MP -MF
.deps/bdpandl.Tpo -c -o bdpandl.o bdpandl.c
mv -f .deps/bdpandl.Tpo .deps/bdpandl.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT dlcommon.o -MD -MP -MF
.deps/dlcommon.Tpo -c -o dlcommon.o dlcommon.c
mv -f .deps/dlcommon.Tpo .deps/dlcommon.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT dlinfo.o -MD -MP -MF
.deps/dlinfo.Tpo -c -o dlinfo.o dlinfo.c
dlinfo.c:242:10: warning: address of array 'dl->di_filename' will always
evaluate to 'true' [-Wpointer-bool-conversion]
if (dl->di_filename && *dl->di_filename)

1 warning generated.
mv -f .deps/dlinfo.Tpo .deps/dlinfo.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT dlpart.o -MD -MP -MF
.deps/dlpart.Tpo -c -o dlpart.o dlpart.c
mv -f .deps/dlpart.Tpo .deps/dlpart.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT scrolling_display.o -MD -MP -MF
.deps/scrolling_display.Tpo -c -o scrolling_display.o scrolling_display.c
mv -f .deps/scrolling_display.Tpo .deps/scrolling_display.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT err_handler.o -MD -MP -MF
.deps/err_handler.Tpo -c -o err_handler.o err_handler.c
err_handler.c:231:17: warning: format string is not a string literal
(potentially insecure) [-Wformat-security]
syslog(level, buf);
^~~
1 warning generated.
mv -f .deps/err_handler.Tpo .deps/err_handler.Po
gcc -g -O2 -Wall -lpthread -o bdpandl bdpandl.o dlcommon.o dlinfo.o
dlpart.o scrolling_display.o err_handler.o -lpthread
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT bdpandl-decode.o -MD -MP -MF
.deps/bdpandl-decode.Tpo -c -o bdpandl-decode.o bdpandl-decode.c
mv -f .deps/bdpandl-decode.Tpo .deps/bdpandl-decode.Po
gcc -g -O2 -Wall -o bdpandl-decode bdpandl-decode.o err_handler.o
-lpthread
make[2]: Nothing to be done forall-am'.`

Error:
./bdpandl -n 4 '
https://cdn00.baidupcs.com/file/b142f64064c30502231b202c5a305cbc?bkt=p2-qd-957&xcode=ca8d655aa42e78dbac3e33573163e89c9985c63cff87a66494b92e463168dc1b&fid=2370615657-250528-779912236730087&time=1469296465&sign=FDTAXGERLBH-DCb740ccc5511e5e8fedcff06b081203-UMvrky%2FeQyj7SKm3xnXr5WdjkNk%3D&to=sf&fm=Nin,B,U,ny&sta_dx=426&sta_cs=9&sta_ft=zip&sta_ct=7&fm2=Ningbo,B,U,ny&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=00004cd1565533abe9402f42e571f6b72f8e&sl=83689549&expires=8h&rt=sh&r=953912995&mlogid=4756371829149866831&vuk=-&vbdid=2225302313&fin=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&fn=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&slt=pm&uta=0&rtype=1&iv=0&isw=0&dp-logid=4756371829149866831&dp-callid=0.1.1&hps=1
'
[1] 15015 illegal hardware instruction ./bdpandl -n 4

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yzfedora/baidudl/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/AMFWJtPjO95ZCW7MRq1Qjxv4WyPv_qrNks5qYld_gaJpZM4JTaML
.

from baidudl.

lqs4188980 avatar lqs4188980 commented on July 16, 2024

Thank you for the quick response.
I tried but didn't work. Same error. Any other suggestions?

from baidudl.

yzfedora avatar yzfedora commented on July 16, 2024

if you have gdb installed on your system. we can use gdb to find where is
the problem. here is the steps:

1, "./configure CFLAGS=-g"
2, "make"
3, "sudo make install" or "make install"

run "gdb bdpandl", then type "run some_download_url", when the error
occurs, could you please take a screenshot including the error info and
send it to me?

maybe I can fix it if I know the details.

On Sun, Jul 24, 2016 at 2:48 AM Qishen Li [email protected] wrote:

Thank you for the quick response.
I tried but didn't work. Same error. Any other suggestions?


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#3 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMFWJsZYW2hFqQOmZKuayZcIbIOYbVFzks5qYmHigaJpZM4JTaML
.

from baidudl.

lqs4188980 avatar lqs4188980 commented on July 16, 2024

Not sure if I did the correct thing:

(gdb) run https://cdn00.baidupcs.com/file/b142f64064c30502231b202c5a305cbc?bkt=p2-qd-957&xcode=ca8d655aa42e78dbac3e33573163e89c9985c63cff87a66494b92e463168dc1b&fid=2370615657-250528-779912236730087&time=1469296465&sign=FDTAXGERLBH-DCb740ccc5511e5e8fedcff06b081203-UMvrky%2FeQyj7SKm3xnXr5WdjkNk%3D&to=sf&fm=Nin,B,U,ny&sta_dx=426&sta_cs=9&sta_ft=zip&sta_ct=7&fm2=Ningbo,B,U,ny&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=00004cd1565533abe9402f42e571f6b72f8e&sl=83689549&expires=8h&rt=sh&r=953912995&mlogid=4756371829149866831&vuk=-&vbdid=2225302313&fin=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&fn=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&slt=pm&uta=0&rtype=1&iv=0&isw=0&dp-logid=4756371829149866831&dp-callid=0.1.1&hps=1
Starting program: /Users/LarryCane/Code/baidu_downloader/bin/bdpandl https://cdn00.baidupcs.com/file/b142f64064c30502231b202c5a305cbc?bkt=p2-qd-957&xcode=ca8d655aa42e78dbac3e33573163e89c9985c63cff87a66494b92e463168dc1b&fid=2370615657-250528-779912236730087&time=1469296465&sign=FDTAXGERLBH-DCb740ccc5511e5e8fedcff06b081203-UMvrky%2FeQyj7SKm3xnXr5WdjkNk%3D&to=sf&fm=Nin,B,U,ny&sta_dx=426&sta_cs=9&sta_ft=zip&sta_ct=7&fm2=Ningbo,B,U,ny&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=00004cd1565533abe9402f42e571f6b72f8e&sl=83689549&expires=8h&rt=sh&r=953912995&mlogid=4756371829149866831&vuk=-&vbdid=2225302313&fin=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&fn=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&slt=pm&uta=0&rtype=1&iv=0&isw=0&dp-logid=4756371829149866831&dp-callid=0.1.1&hps=1
Unable to find Mach task port for process-id 78888: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
(gdb) run some_download_url
Starting program: /Users/LarryCane/Code/baidu_downloader/bin/bdpandl some_download_url
Unable to find Mach task port for process-id 78929: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
(gdb) 

from baidudl.

yzfedora avatar yzfedora commented on July 16, 2024

I will prepare an OS X 10.11.5 system to test the program, and will let you
know after this bug be fix.

On Sun, Jul 24, 2016 at 3:19 AM Qishen Li [email protected] wrote:

Not sure if I did the correct thing:

(gdb) run https://cdn00.baidupcs.com/file/b142f64064c30502231b202c5a305cbc?bkt=p2-qd-957&xcode=ca8d655aa42e78dbac3e33573163e89c9985c63cff87a66494b92e463168dc1b&fid=2370615657-250528-779912236730087&time=1469296465&sign=FDTAXGERLBH-DCb740ccc5511e5e8fedcff06b081203-UMvrky%2FeQyj7SKm3xnXr5WdjkNk%3D&to=sf&fm=Nin,B,U,ny&sta_dx=426&sta_cs=9&sta_ft=zip&sta_ct=7&fm2=Ningbo,B,U,ny&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=00004cd1565533abe9402f42e571f6b72f8e&sl=83689549&expires=8h&rt=sh&r=953912995&mlogid=4756371829149866831&vuk=-&vbdid=2225302313&fin=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&fn=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&slt=pm&uta=0&rtype=1&iv=0&isw=0&dp-logid=4756371829149866831&dp-callid=0.1.1&hps=1
Starting program: /Users/LarryCane/Code/baidu_downloader/bin/bdpandl https://cdn00.baidupcs.com/file/b142f64064c30502231b202c5a305cbc?bkt=p2-qd-957&xcode=ca8d655aa42e78dbac3e33573163e89c9985c63cff87a66494b92e463168dc1b&fid=2370615657-250528-779912236730087&time=1469296465&sign=FDTAXGERLBH-DCb740ccc5511e5e8fedcff06b081203-UMvrky%2FeQyj7SKm3xnXr5WdjkNk%3D&to=sf&fm=Nin,B,U,ny&sta_dx=426&sta_cs=9&sta_ft=zip&sta_ct=7&fm2=Ningbo,B,U,ny&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=00004cd1565533abe9402f42e571f6b72f8e&sl=83689549&expires=8h&rt=sh&r=953912995&mlogid=4756371829149866831&vuk=-&vbdid=2225302313&fin=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&fn=Enya.-.%5BThe.Very.Best.Of.Enya%5D.%E4%B8%93%E8%BE%91.%28FLAC%29.zip&slt=pm&uta=0&rtype=1&iv=0&isw=0&dp-logid=4756371829149866831&dp-callid=0.1.1&hps=1
Unable to find Mach task port for process-id 78888: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))
(gdb) run some_download_url
Starting program: /Users/LarryCane/Code/baidu_downloader/bin/bdpandl some_download_url
Unable to find Mach task port for process-id 78929: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))
(gdb)


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#3 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMFWJnd6ExcUulvdzESwrRnP7IOjZtnvks5qYmlYgaJpZM4JTaML
.

from baidudl.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.