[Gtk2-perl-bugs] [Bug 567913] New: [Bug???] Unrecognized argument in LIBS ignored: '-pthread' ???

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

[Gtk2-perl-bugs] [Bug 567913] New: [Bug???] Unrecognized argument in LIBS ignored: '-pthread' ???

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=567913

  gnome-perl | Gnome2::GConf | Ver: unspecified
           Summary: [Bug???] Unrecognized argument in LIBS ignored: '-
                    pthread' ???
           Product: gnome-perl
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: Gnome2::GConf
        AssignedTo: gtk2-perl-bugs@...
        ReportedBy: jchain3@...
         QAContact: gtk2-perl-bugs@...
     GNOME version: 2.23/2.24
   GNOME milestone: Unspecified


Hi guys,

When I tried to install Gnome2::GConf from CPAN, I saw the following error
message:

Including generated API documentation...
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile for Gnome2::GConf

I couldn't make the package until I replaced -pthread with -lpthread in
Makefile. I think it's a minor bug. Please correct me if I'm wrong.

Thanks,
Cheng


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567913.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 567913] [Bug???] Unrecognized argument in LIBS ignored: '-pthread' ???

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=567913

  gnome-perl | Gnome2::GConf | Ver: unspecified




------- Comment #1 from Cheng Zhang  2009-01-15 21:48 UTC -------
I met the same problem when I was installed Goo::Canvas.

Thanks,
Cheng


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567913.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 567913] [Bug???] Unrecognized argument in LIBS ignored: '-pthread' ???

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=567913

  gnome-perl | Gnome2::GConf | Ver: unspecified




------- Comment #2 from Cheng Zhang  2009-01-15 21:55 UTC -------
I didn't see any problem with Gnome2::Wnck

Thanks,
Cheng


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567913.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 567913] [Bug???] Unrecognized argument in LIBS ignored: '-pthread' ???

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=567913

  gnome-perl | Gnome2::GConf | Ver: unspecified

Torsten Schoenfeld changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kaffeetisch@...




------- Comment #3 from Torsten Schoenfeld  2009-01-18 15:29 UTC -------
When you say you "couldn't make the package until I replaced -pthread with
-lpthread in Makefile", do you mean that compilation or linking fails without
this change?  What's the exact error message?

This happens because ExtUtils::MakeMaker (the module we use for generating the
Makefile) strips any linker flags it doesn't know, among which is -pthread.  So
the real fix would be for ExtUtils::MakeMaker to not strip this flag.

Simply replacing -pthread by -lpthread works around this problem (since EU::MM
recognizes -l<...> flags), but is not a real solution since, according to the
gcc man page:

-pthread
  ...
  This option sets flags for both the preprocessor and linker.
  ...


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567913.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 567913] Unrecognized argument in LIBS ignored: '-pthread'

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=567913

  gnome-perl | general | Ver: unspecified

Torsten Schoenfeld changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|Gnome2::GConf               |general
     Ever Confirmed|0                           |1
            Summary|[Bug???] Unrecognized       |Unrecognized argument in
                   |argument in LIBS ignored: '-|LIBS ignored: '-pthread'
                   |pthread' ???                |




--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567913.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 567913] Unrecognized argument in LIBS ignored: '-pthread'

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=567913

  gnome-perl | general | Ver: unspecified




------- Comment #4 from Cheng Zhang  2009-01-18 16:50 UTC -------
Yes, the compilation or linking fails without the change. I'm now pretty sure
the bug is from ExtUtils::Maker. EU::MM may be right to generate -pthread, but
my gcc-4.3 on openSUSE-11.1 didn't recognize it.

It's possibly the openSUSE's bug, who knows.

Thanks,
Cheng


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567913.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs