Opened 3 years ago
Closed 3 years ago
#64894 closed defect (fixed)
n2n @3.0: ld: -L must be immediately followed by a directory path (no space)
Reported by: | barracuda156 | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | powerpc, snowleopard, rosetta | Cc: | |
Port: | n2n |
Description (last modified by barracuda156)
The build fails with gcc-4.2
:
/usr/bin/gcc-4.2 -std=gnu99 -L/opt/local/libexec/openssl11/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -pthread -L . src/supernode.o libn2n.a -ln2n -lcrypto -lzstd -o src/supernode ld: -L must be immediately followed by a directory path (no space) collect2: ld returned 1 exit status make: *** [src/edge] Error 1 make: *** Waiting for unfinished jobs.... ld: -L must be immediately followed by a directory path (no space) collect2: ld returned 1 exit status make: *** [src/supernode] Error 1
Attachments (2)
Change History (7)
Changed 3 years ago by barracuda156
Changed 3 years ago by barracuda156
Attachment: | config.log added |
---|
comment:1 Changed 3 years ago by barracuda156
Description: | modified (diff) |
---|---|
Summary: | n2n fails to build for ppc on 10.6.8 Rosetta → n2n fails to build for ppc on 10.6.8 Rosetta: Macports picks a wrong compiler |
comment:2 Changed 3 years ago by barracuda156
comment:3 Changed 3 years ago by kencu (Ken)
it’s erroring due to the space between the L and the period:
-pthread -L .
not sure why that space is there, or why changing the compiler would matter (presumably either the space doesn't happen any more or the compiler doesn't care any more).
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Status: | new → accepted |
Summary: | n2n fails to build for ppc on 10.6.8 Rosetta: Macports picks a wrong compiler → n2n @3.0: ld: -L must be immediately followed by a directory path (no space) |
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
With
macports-gcc-11
it succeeds though:No other changes, only specified the compiler.